PsmCurves objectcreate_PsmCurves is a function for creating an object of class
PsmCurves.
create_PsmCurves(object, ...)# S3 method for flexsurvreg_list
create_PsmCurves(
object,
input_data,
n = 1000,
uncertainty = c("normal", "bootstrap", "none"),
est_data = NULL,
...
)
# S3 method for params_surv_list
create_PsmCurves(object, input_data, ...)
Fitted survival models.
Further arguments passed to or from other methods. Passed to create_params.partsurvfit()
when object is of class flexsurvreg_list.
An object of class expanded_hesim_data returned by
expand.hesim_data. Must be expanded by the data tables "strategies" and
"patients".
Number of random observations of the parameters to draw.
Method determining how parameter uncertainty should be handled. See
documentation in create_params().
A data.table or data.frame of estimation data
used to fit survival models during bootstrap replications.
Returns an R6Class object of class PsmCurves.