vars_ph_p_pds__f_categ | R Documentation |
Computes the summary score ph_p_pds__f_categ
Pubertal Development Scale & Menstrual Cycle Survey History [Parent]
(Female): Approximate tanner stages [Validation: No more than 0
missing or declined]
Summarized variables:
ph_p_pds_002
ph_p_pds__f_001
ph_p_pds__f_002
Excluded values:
777
999
Validation criterion: maximally 0 items missing
vars_ph_p_pds__f_categ
compute_ph_p_pds__f_categ(
data,
name = "ph_p_pds__f_categ",
exclude = c("777", "999"),
combine = TRUE,
max_na = 0
)
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 |
max_na |
numeric, positive whole number. Number of missing items
allowed. |
vars_ph_p_pds__f is a character vector of all column names
used to compute summary score of ph_p_pds__f_categ
and
ph_p_pds__f__categ_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.