Rdocumentation
powered by
Learn R Programming
heemod (version 0.9.0)
extract_params: Extract Evaluated Parameters
Description
Extracts the covariate-adjusted parameters from a
flexsurv::flexsurvreg()
object.
Usage
extract_params(obj, data = NULL)
Arguments
obj
A
flexsurv::flexsurvreg()
object.
data
An optional dataset of covariate values to generate parameters for. Defaults to the original data to which the model was fit.
Value
A tidy data frame of curve parameters for each covariate level.