View source: R/OnlyHemothoraxPatients.R
Keeps only patients with hemothorax.
1 2 | OnlyHemothoraxPatients(study.sample, hemothorax.value = "s27.1",
remove.missing = TRUE)
|
study.sample |
Data frame. The study sample. No default. |
hemothorax.value |
Character or numeric vector of length 1. The patterns to be used to define that a patient had a hemothorax. Defaults to "s27.1". |
remove.missing |
Logical vector of length 1. If TRUE all observations with data on hemothorax diagnosis, as detected by is.na, are removed from the sample. Defaults to TRUE. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.