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,
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, ...)
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.
If TRUE
, then the point estimates are returned and and no samples are drawn.
A vector denoting the states in which time resets. See the field
reset_states
in IndivCtstmTrans
.
Returns an R6Class
object of class IndivCtstmTrans
.