drop.observations: Drop observations function

Description Usage Arguments

View source: R/drop.observations.r

Description

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

Usage

1
2
drop.observations(study_data, before_date = "2016-07-28",
  after_date = "2018-04-07", test = FALSE)

Arguments

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


itslwg/superlearnerr documentation built on July 31, 2020, 7:37 a.m.