pomcheck {pomcheckr} | R Documentation |
Graphical check for proportional odds assumption
Description
Implements the method described in https://stats.idre.ucla.edu/r/dae/ordinal-logistic-regression/ for checking if the proportional odds assumption holds for a cumulative logit model.
Usage
pomcheck(object, ...)
## Default S3 method:
pomcheck(object, x, data, ...)
## S3 method for class 'formula'
pomcheck(formula, data, ...)
Arguments
object |
character string for response |
... |
currently unused |
x |
vector of character string(s) for explanatory variable(s) |
data |
data frame containing the variables |
formula |
formula of the form y ~ x1 + x2 + ... |
Value
an object of class 'pomcheck'
Methods (by class)
-
default
: default -
formula
: supports formula specification
See Also
Examples
pomcheck(Species ~ Sepal.Length, iris)
pomcheck(Species ~ Sepal.Length + Sepal.Width, iris)
pomcheck(object="Species", x="Sepal.Length", iris)
pomcheck(object="Species", x=c("Sepal.Length", "Sepal.Width"), iris)
[Package pomcheckr version 0.1.1 Index]