R/pooled_logistic.R
POplugin.Rd
The outcome in data
(indicated in the form
object) should be an ordered factor.
POplugin(form, data, weights = 1)
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) |
A list with the fitted glm, the original data, levels of the outcome, and the outcome name