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,
point_estimate = FALSE, bootstrap = FALSE, 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. Currently unused.
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.
If TRUE
, then the point estimates are returned and and no samples are drawn.
If TRUE, then n
bootstrap replications are drawn by refitting the survival
models in object
on resamples of the sample data; if FALSE, then the parameters for each survival
model are independently draw from multivariate normal distributions.
A data.table
or data.frame
of estimation data
used to fit survival models during bootstrap replications.