OnlyBluntTraumaPatients: Only patients with blunt trauma

Description Usage Arguments

View source: R/OnlyBluntTraumaPatients.R

Description

Keeps only patients with blunt trauma in the sample.

Usage

1
2
OnlyBluntTraumaPatients(study.sample, injury.type.variable.name = "ti",
  blunt.value = "Blunt", remove.missing = TRUE)

Arguments

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.


martingerdin/bengaltiger documentation built on Feb. 29, 2020, 4:46 p.m.