ordESS {rms} | R Documentation |
ordESS
Description
Ordinal Model Effective Sample Size
Usage
ordESS(fit)
Arguments
fit |
a model fitted by |
Details
For a standard ordinal model fitted with orm
, returns the effective sample size (ESS) component of the stats
part of the fit object if there were no censored data. Otherwise ordESS
assumes that y=TRUE
and lpe=TRUE
were given to orm
, and an analysis of the effective sample size per censored observation is given, as a function of the censoring time, or in the case of interval censored data, o function of the width of the interval.
Value
a ggplot2
object
Author(s)
Frank Harrell
Examples
## Not run:
f <- orm(Ocens(y1, y2) ~ x, y=TRUE, lpe=TRUE)
ordESS(f)
## End(Not run)
[Package rms version 8.0-0 Index]