IndivCtstmTrans objectA generic function for creating an object of class IndivCtstmTrans.
create_IndivCtstmTrans(object, ...)# S3 method for flexsurvreg_list
create_IndivCtstmTrans(
object,
input_data,
trans_mat,
clock = c("reset", "forward"),
n = 1000,
uncertainty = c("normal", "none"),
...
)
# S3 method for flexsurvreg
create_IndivCtstmTrans(
object,
input_data,
trans_mat,
clock = c("reset", "forward"),
n = 1000,
uncertainty = c("normal", "none"),
...
)
# S3 method for params_surv
create_IndivCtstmTrans(
object,
input_data,
trans_mat,
clock = c("reset", "forward", "mix"),
reset_states = NULL,
...
)
# S3 method for params_surv_list
create_IndivCtstmTrans(
object,
input_data,
trans_mat,
clock = c("reset", "forward", "mix"),
reset_states = NULL,
...
)
A fitted survival model or the parameters of a survival model.
Further arguments passed to IndivCtstmTrans$new() in IndivCtstmTrans.
An object of class expanded_hesim_data returned by
expand.hesim_data.
The transition matrix describing the states and transitions in a
multi-state model in the format from the mstate package. See IndivCtstmTrans.
"reset" for a clock-reset model, "forward" for a clock-forward model, and "mix" for a mixture
of clock-reset and clock-forward models. See the field clock in IndivCtstmTrans.
Number of random observations of the parameters to draw.
Method determining how parameter uncertainty should be handled. See
documentation in create_params().
A vector denoting the states in which time resets. See the field
reset_states in IndivCtstmTrans.
Returns an R6Class object of class IndivCtstmTrans.