update_project_variables.RdReturns a sasctl MMproject object from Model Manager
update_project_variables(
session,
project,
input_vars = NULL,
output_vars = NULL,
exact = TRUE,
sasctl_vars,
...
)viya_connection object, obtained through session function
MMproject object, project ID or project name. If name, will try to find a single project with exact name match. See exact parameter
data.frame with the input data sample to configure the project variables.
data.frame with the output data sample to configure the project variables.
the filter query should use "contains" for partial match or "eq" for exact match
data.frame from MMmodel object inputVariables, outputVariables.
additional parameters to be passed to httr::POST such as httr::add_headers
A data.frame with the list of projects
if (FALSE) { # \dontrun{
new_project <- create_project(sess, name = "ModelProj",
description = "My fancy project",
model_function = "classification")
new_variables <- update_project_variables(sess, project = new_project,
input_vars = iris[,1:4],
output_vars = iris[,5, drop = F])
new_variables
} # }