state.pairs.CT {flexmsm} | R Documentation |
Function to extract state pair counts and observed (right) times.
Description
Function to extract state pair counts and observed (right) times.
Usage
state.pairs.CT(
formula = NULL,
data = NULL,
whereQ = NULL,
nstates = NULL,
time = NULL,
state = NULL,
id = NULL
)
Arguments
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. |
Value
A table with the state-pair counts and a list with the observed (right) times for each transition.
[Package flexmsm version 0.1.2 Index]