The outcome in data (indicated in the form object) should be an ordered factor.

POplugin(form, data, weights = 1)

Arguments

form

The model formula

data

The data set used to fit the model

weights

Either equal to 1 (no weights) or a vector of length equal to nrow(data)

Value

A list with the fitted glm, the original data, levels of the outcome, and the outcome name