A 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, point_estimate = FALSE, ... ) # S3 method for flexsurvreg create_IndivCtstmTrans( object, input_data, trans_mat, clock = c("reset", "forward"), n = 1000, point_estimate = FALSE, ... ) # 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, ... )
object | A fitted survival model or the parameters of a survival model. |
---|---|
... | Further arguments passed to |
input_data | An object of class "expanded_hesim_data" returned by
|
trans_mat | The transition matrix describing the states and transitions in a multi-state model in the format from the mstate package. See IndivCtstmTrans. |
clock | "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 |
n | Number of random observations of the parameters to draw. |
point_estimate | If |
reset_states | A vector denoting the states in which time resets. See the field
|
Returns an R6Class
object of class IndivCtstmTrans
.