state.pairs.CT {flexmsm} | R Documentation |
Function to extract state pair counts and observed (right) times.
state.pairs.CT(
formula = NULL,
data = NULL,
whereQ = NULL,
nstates = NULL,
time = NULL,
state = NULL,
id = NULL
)
formula |
Model specification. |
data |
Data. |
whereQ |
Placement of allowed transition intensities. Only for internal use. Defaults to |
nstates |
Total number of states. Only for internal use. Defaults to |
time |
Name of variable containing the time-to-event. |
state |
Name of variable containing the states. |
id |
Name of variable containing the unique code identifying the individuals. |
A table with the state-pair counts and a list with the observed (right) times for each transition.