summary.clos {changeLOS} | R Documentation |
Summary method for objects of class clos
.
## S3 method for class 'clos': summary(object, ...)
object |
An object of class clos . |
... |
other arguments |
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 |
Matthias Wangler mw@imbi.uni-freiburg.de
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)