ordESS: ordESS

View source: R/ordESS.r

ordESSR Documentation

ordESS

Description

Ordinal Model Effective Sample Size

Usage

ordESS(fit)

Arguments

fit

a model fitted by orm with ⁠y=TRUE, lpe=TRUE⁠

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)

rms documentation built on April 12, 2025, 1:18 a.m.

Related to ordESS in rms...