Solve state occupancy probabilities for each subject and draw in 'MultistateModelFit'
p_state_occupancy.RdSolve state occupancy probabilities for each subject and draw in 'MultistateModelFit'
Arguments
- fit
A
MultistateModelFitobject- oos
Out-of-sample mode? If
FALSE, the possible subject-specific fitted parameters are used. IfTRUE, acting as if the subjects are new.- t_start
Start time. The results are transition probabilities to each state, evaluated at each time point of
t_out, given that the that the subject is in the state they are indataatt_start.- t_out
End times (vector)
- data
A
JointDataobject. IfNULL, the data used to fit the model is used.- ...
Arguments passed to
deSolve::ode().