powered by
Fit a logistic or probit regression model to an ordered factor response.
POLRModel(method = c("logistic", "probit", "loglog", "cloglog", "cauchit"))
logistic or probit or (complementary) log-log or cauchit (corresponding to a Cauchy latent variable).
MLModel class object.
MLModel
ordered
Further model details can be found in the source link below.
polr, fit, resample, tune
polr
fit
resample
tune
# NOT RUN { library(MASS) df <- Boston df$medv <- cut(Boston$medv, breaks = c(0, 15, 20, 25, 50), ordered = TRUE) fit(medv ~ ., data = df, model = POLRModel()) # }
Run the code above in your browser using DataLab