summary.clos {changeLOS}R Documentation

Summary method for objects of class 'clos'

Description

Summary method for objects of class clos.

Usage

## S3 method for class 'clos':
summary(object, ...)

Arguments

object An object of class clos.
... other arguments

Value

A list is returned by the function summary.clos with the following elements:

cLOS change in LOS
patients total number of observed patients
patients.discharge number of patients being discharged
patients.death number of patients who die
patients.cens number of patients being censored, i. e. for whom neither discharge or death was observed
cases number of patients who experienced the intermediate event (IE)
cases.discharge number of patients who experienced the IE being discharged
cases.death number of patients who experienced the IE and died
cases.cens number of patients who experienced the IE and were censored

Author(s)

Matthias Wangler mw@imbi.uni-freiburg.de

See Also

clos

Examples

data(los.data)
my.observ <- prepare.los.data(x=los.data)
trans <- matrix(FALSE,4,4)
diag(trans) <- TRUE
trans[1,] <- TRUE
trans[2,3:4] <- TRUE
my.model <- msmodel(c("0","1","2","3"),trans,cens.name="cens")
los <- clos(model=my.model,observ=my.observ)
summary(los)

[Package changeLOS version 2.0.9-2 Index]