View source: R/drop.observations.r
This function takes as only input the study data data frame and drops (removes) observations collected before all centres started collecting triage category data and observations collected later then one month prior to creating the study dataset
1 2 | drop.observations(study_data, before_date = "2016-07-28",
after_date = "2018-04-07", test = FALSE)
|
study_data |
The study data as a data frame. No default |
before_date |
Patients enrolled before this date are excluded. Defaults to "2016-07-28" |
after_date |
Patients enrolled after this data are excluded. Defaults to "2018-04-07" |
test |
Logical. If TRUE, then all observations are kept and before_date and after_date are ignored. Defaults to FALSE |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.