POplugin: Fits a proportional odds model via pooled logistic regression.
Description
The outcome in data
(indicated in the form
object) should be an ordered factor.
Usage
POplugin(form, data, weights = 1)
Arguments
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