powered by
This function builds a classification model using Logistic Regression.
LR(train, labels, tune = FALSE, ...)
The training set (description), as a data.frame.
data.frame
Class labels of the training set (vector or factor).
vector
factor
If true, the function returns paramters instead of a classification model.
Other parameters.
The classification model.
multinom
# NOT RUN { require (datasets) data (iris) LR (iris [, -5], iris [, 5]) # }
Run the code above in your browser using DataLab