extract_params: Extract Evaluated Parameters

View source: R/survival_eval.R

extract_paramsR Documentation

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.


heemod documentation built on July 26, 2023, 5:45 p.m.