get_cumulative: Expand time-dependent covariates to functionals

Description Usage Arguments

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

1
2
3

Arguments

data

Data frame (or similar) in which variables specified in ... will be looked for

formula

A formula containing cumulative specials, that specify the type of cumulative effect one wants to estimate. For details see the vignettes on data transformation and time-dependent covariates.

func

Single evaluated cumulative term.


adibender/ped documentation built on Dec. 16, 2019, 12:33 a.m.