get_cumulative {pammtools} | R Documentation |
Expand time-dependent covariates to functionals
Description
Given formula specification on how time-dependent covariates affect the outcome, creates respective functional covariate as well as auxiliary matrices for time/latency etc.
Usage
get_cumulative(data, formula)
expand_cumulative(data, func, n_func)
Arguments
data |
Data frame (or similar) in which variables specified in ... will be looked for |
formula |
A formula containing |
func |
Single evaluated |
[Package pammtools version 0.7.3 Index]