compute_ph_y_mctq__fd__sleep__mid__24h_t: Compute "Munich Chronotype Questionnaire [Youth] (Free Day -...

View source: R/scores_ph.R

compute_ph_y_mctq__fd__sleep__mid__24h_tR Documentation

Compute "Munich Chronotype Questionnaire [Youth] (Free Day - Sleep mid): Time [24 hour adjusted]"

Description

Computes the summary score ph_y_mctq__fd__sleep__mid__24h_t Munich Chronotype Questionnaire [Youth] (Free Day - Sleep mid): Time [24 hour adjusted]

  • Summarized variables:

    • ph_y_mctq__fd__sleep__onset__24h_t (intermediate score)

    • ph_y_mctq__fd__sleep_dur (intermediate score)

  • Excluded values: none

Usage

compute_ph_y_mctq__fd__sleep__mid__24h_t(
  data,
  name = "ph_y_mctq__fd__sleep__mid__24h_t",
  combine = TRUE
)

Arguments

data

tbl. Data frame containing the columns to be summarized.

name

character. Name of the new column to be created (Default: the name used in the ABCD data release).

combine

logical. If TRUE, the new column will be bound to the input data frame. If FALSE, the new column will be created as a new data frame.

Value

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

Examples

## Not run: 
compute_ph_y_mctq__fd__sleep__mid__24h_t(data) |>
  select(
    any_of(c(
      "ph_y_mctq__fd__sleep__mid__24h_t"
    ))
  )

## End(Not run)

ABCDscores documentation built on Sept. 11, 2025, 5:08 p.m.