define_part_surv_custom: Convert saved fits to partitioned survival objects

View source: R/part_surv.R

define_part_surv_customR Documentation

Convert saved fits to partitioned survival objects

Description

Convert saved fits to partitioned survival objects

Usage

define_part_surv_custom(...)

Arguments

surv_inputs

a list of matrices of flexsurvreg objects, for example the first element of the output of survival_from_data.

state_names

names of states of the model

Details

surv_inputs is a tibble with columns type (PFS or OS, not case sensitive), treatment, set_name (for data subsets), dist (for survival distribution assumptions), fit (for the fitted survival object) and set_def (how the subset of data was defined, just to keep it around)


PolicyAnalysisInc/heRoMod documentation built on March 23, 2024, 4:29 p.m.