compute_ph_y_mctq__socjl_rel | R Documentation |
Computes the summary score ph_y_mctq__socjl_rel
Munich Chronotype Questionnaire [Youth] (Social Jetlag: Relative):
Time
Summarized variables:
ph_y_mctq__fd__sleep__mid__36h_t
(intermediate score)
ph_y_mctq__sd__sleep__mid__36h_t
(intermediate score)
Excluded values: none
compute_ph_y_mctq__socjl_rel(
data,
name = "ph_y_mctq__socjl_rel",
combine = TRUE
)
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. |
tbl. The input data frame with the summary score appended as a new column.
## Not run:
compute_ph_y_mctq__socjl_rel(data) |>
select(
any_of(c(
"ph_y_mctq__socjl_rel"
))
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.