pomcheck: Graphical check for proportional odds assumption

Description Usage Arguments Value Methods (by class) See Also Examples

View source: R/pomcheck.R

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

1
2
3
4
5
6
7
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)

See Also

plot.pomcheck

Examples

1
2
3
4
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)

pomcheckr documentation built on June 6, 2021, 9:06 a.m.