Skip to contents

Computes the summary score ph_p_pds__m_nm Pubertal Development Scale & Menstrual Cycle Survey History [Parent] (Male): Number missing

  • Summarized variables:

    • ph_p_pds_001

    • ph_p_pds_002

    • ph_p_pds_003

    • ph_p_pds__m_001

    • ph_p_pds__m_002

  • Excluded values: c("777", "999")

Usage

compute_ph_p_pds__m_nm(data, name = "ph_p_pds__m_nm", combine = TRUE)

Arguments

data

tbl. Data frame containing the columns to be summarized.

name

character. Name of the summary score column.

combine

logical. If TRUE (default), the summary score is is appended as a new column to the input data frame. If FALSE, the summary score is returned as a separate one-column data frame.

Value

tbl. The input data frame with the summary score appended as a new column.