exampleclos {changeLOS} | R Documentation |
An example program estimating change in length of stay associated with an intermediate event.
exampleclos()
An object of class 'clos'. The object is a list of
cLOS |
change in LOS |
trans |
an object of class 'trans' |
e.given.1 |
estimates E(T|X_s = intermediate event) for all observed transition times s |
e.given.0 |
estimates E(T|X_s = initial state) for all observed transition times s |
weights |
weights for the weighted average |
called |
how the function was called |
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 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 |
required packages: survival
Matthias Wangler mw@imbi.uni-freiburg.de