View source: R/dataConstruction_workflow.R
| setInstantExposure | R Documentation |
The instant exposure dataset specifies all follow-up dates when a study subject is exposed to a non-reference exposure level. For each instanteneous exposures, the table specifies:
a unique subject identifier,
the exposure date,
the exposure level (required only when the exposure is not binary).
setInstantExposure(data, IDvar, exp_date, exp_level = NA)
data |
|
IDvar |
|
exp_date |
|
exp_level |
|
instExpData object
instantExpData
exposure <- setInstantExposure(expDT6, "ID", "fillDate", c("D.t","Q.t"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.