The documentation page of the function classregtree is self-explanatory... Lets go over some of the most common parameters of the classification tree model: x: data matrix, rows are instances, cols are predicting attributes y: column vector, class label for each instance categorical: specify which attributes are discrete type (as opposed to continuous) method: whether to produce classification or
{{#tags}}- {{label}}
{{/tags}}