View source: R/OnlyBluntTraumaPatients.R
Keeps only patients with blunt trauma in the sample.
1 2 | OnlyBluntTraumaPatients(study.sample, injury.type.variable.name = "ti",
blunt.value = "Blunt", remove.missing = TRUE)
|
study.sample |
Data frame. The study sample. No default. |
injury.type.variable.name |
Character vector of length 1. The name of the age variable. Defaults to "ti". |
blunt.value |
Character or numeric vector of length 1. The value of the injury type variable that indicates that a patients had blunt trauma. Defaults to "Blunt". |
remove.missing |
Logical vector of length 1. If TRUE all observations with missing injury type, 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.