StateVals
objectcreate_StateVals()
is a generic function for creating an object of class
StateVals from a fitted statistical model or a stateval_tbl
object.
create_StateVals(object, ...)# S3 method for lm
create_StateVals(
object,
input_data = NULL,
n = 1000,
point_estimate = FALSE,
...
)
# S3 method for stateval_tbl
create_StateVals(object, n = 1000, ...)
A model object of the appropriate class.
Further arguments (time_reset
and method
) passed to StateVals$new().
An object of class expanded_hesim_data. Must be expanded by treatment strategies, patients, and health states.
Number of random observations of the parameters to draw when parameters are fit using a statistical model.
If TRUE
, then the point estimates are returned and and no samples are drawn.
A StateVals object.