powered by
Constructs a target variable, i.e., an object suitable to be passed to DiscoverSubgroups or CreateSDTask.
as.target(attribute, value=NULL)
The attribute of the target variable.
For binary targets, the respective attribute value; the value is NULL for numeric targets.
DiscoverSubgroups.
DiscoverSubgroups
# NOT RUN { # creating a target variable # binary: as.target("class", "true") #numeric: as.target("numeric_class") # }
Run the code above in your browser using DataLab