Description Usage Arguments Value Examples
This function generates an expected treatment effect for each time point based on gamma and tau value.
1 | gen.treatment.effect.col(data, exposure, gamma, tau, id, time_col)
|
data |
data frame with patients |
exposure |
vector of 1 (treated) and 0 (not treated) |
gamma |
wash-in effect |
tau |
wash-out effect |
id |
defines the unique identifier for each patient |
time_col |
column name, which defines the time |
vector with expected treatment effect
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.