vars_ph_p_otbi | R Documentation |
Computes the summary score ph_p_otbi_nm
Ohio State Traumatic Brain Injury Screen [Parent]: Number of missing
gating items
Excluded values:
777
999
vars_ph_p_otbi
compute_ph_p_otbi_nm(
data,
name = "ph_p_otbi_nm",
exclude = c("777", "999"),
combine = TRUE
)
data |
tbl. Data frame containing the columns to be summarized. |
name |
character. Name of the summary score column. |
exclude |
character vector. Values to be excluded from the summary score calculation. |
combine |
logical. If |
vars_ph_p_otbi is a character vector of
all column names used to compute summary score of ph_p_otbi_nm
.
tbl. The input data frame with the summary score appended as a new column.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.