update_model_variables.RdUpdate a SAS Model Manager model variables
update_model_variables(
session,
model,
input_vars = NULL,
output_vars = NULL,
exact = TRUE,
...
)viya_connection object, obtained through session function
MMmodel object, model ID or model name. If name, will try to find a single model with exact name match. See exact parameter
data.frame with the input data sample to configure the model variables.
data.frame with the output data sample to configure the model variables.
the filter query should use "contains" for partial match or "eq" for exact match
additional parameters to be passed to httr::POST such as httr::add_headers
A MMmodelVariables variables
if (FALSE) { # \dontrun{
new_variables <- update_model_variables(sess, model = new_model,
input_vars = iris[,1:4],
output_vars = iris[,5, drop = F]
)
new_variables
} # }