View source: R/AddTriageRevisedTraumaScore.R
Add the Triage Revised Trauma Score to the sample
| 1 2 3 | AddTriageRevisedTraumaScore(study.sample, gcs.name = "gcs_t_1",
  sbp.name = "sbp_1", rr.name = "rr_1", variable.name = "trts",
  drop.used.variables = FALSE)
 | 
| study.sample | Data frame. The study sample. No default. | 
| gcs.name | Character vector of length 1. The name of the Glasgow coma scale variable. Defaults to "gcs_t_1". | 
| sbp.name | Character vector of length 1. The name of the systolic blood pressure variable. Defaults to "sbp_1". | 
| rr.name | Character vector of length 1. The name of the respiratory rate variable. Defaults to "rr_1". | 
| variable.name | Character vector of length 1. The name of the triage revised trauma score variable. Defaults to "trts". | 
| drop.used.variables | Logical vector of length 1. If TRUE the date and time variables used to calculate time between injury and arrival are dropped from the sample. Defaults to FALSE. | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.