So far, two specials are implemented. concurrent is used when
the goal is to estimate a concurrent effect of the TDC. cumulative
is used when the goal is to estimate a cumulative effect of the TDC. These
should usually not be called directly but rather as part of the formula
argument to as_ped.
See the vignette on data transformation
for details.
1 2 3 4 5 6  | cumulative(..., tz_var, ll_fun = function(t, tz) t >= tz,
  suffix = NULL)
concurrent(..., tz_var, lag = 0, suffix = NULL)
has_special(formula, special = "cumulative")
 | 
... | 
 For   | 
tz_var | 
 The name of the variable that stores information on the times at which the TDCs specified in this term where observed.  | 
ll_fun | 
 Function that specifies how the lag-lead matrix should be constructed. First argument is the follow up time second argument is the time of exposure.  | 
lag | 
 a single positive number giving the time lag between for
a concurrent effect to occur (i.e., the TDC at time of exposure   | 
formula | 
 A two sided formula with a   | 
special | 
 The name of the special whose existence in the
  | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.