extract_covars: Returns the name of the covariates in the registry data set...

Description Usage Arguments Value

View source: R/surv_model.R

Description

Used in prevalence to determine which covariates should be sampled when simulating an incident population. This should provide a character vector containing column names of the original registry data set input to prevalence that are used by the survival model.

Usage

1

Arguments

object

The survival object itself

Value

A character vector holding the column names. Can be NULL if no covariates are used i.e. the survival model is built based on population level data rather than individual level data.


rprev documentation built on May 4, 2021, 5:08 p.m.