vars_nc_y_ehis | R Documentation |
Computes the summary score nc_y_ehis_score
Edinburgh Handedness Inventory [Youth] (Handedness score rating)
Summarized variables:
nc_y_ehis_001
nc_y_ehis_002
nc_y_ehis_003
nc_y_ehis_004
vars_nc_y_ehis
compute_nc_y_ehis_score(
data,
name = "nc_y_ehis_score",
max_na = 0,
combine = TRUE
)
data |
tbl, Dataframe containing the columns to be summarized. |
name |
character, Name of the new column to be created. Default is the name in description, but users can change it. |
max_na |
integer, Maximum number of missing values allowed in the
summary score. |
combine |
logical, If |
vars_nc_y_ehis is a character vector of all column names
used to compute summary scores of nc_y_ehis
.
tbl. The input data frame with the summary score appended as a new column.
## Not run:
compute_nc_y_ehis_score(data) |>
select(
data,
all_of(c("nc_y_ehis_score", vars_nc_y_ehis))
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.