prepare.progdismodel {changeLOS} | R Documentation |
Prepare the model and the data as the ones generated by read.los.data
to be passed to progdismodel().
prepare.progdismodel(data)
data |
data.frame of the form data.frame(id, j.01, j.02, j.03, j.12, j.13, cens):
|
A list of:
observ |
a data.frame of the form data.frame(id, from, to, time,
oid):
|
model |
an object of class 'msmodel', which describes the progressive disability model with two transient and four absorbing states. |
Matthias Wangler mw@imbi.uni-freiburg.de
prepare.los.data
, read.los.data
data(los.data) p <- prepare.progdismodel(data=los.data)