View source: R/wg2ws_category_score.R
wg2ws_category_score | R Documentation |
Take 22 WG scores and simulates WS scores for each one.
wg2ws_category_score(wg_table, age = NA, WG_total = NA, verbose = FALSE)
wg_table |
A 22-row table with the columns |
age |
(Optional). Age in months. If unset, models not including age are used |
WG_total |
NA/numeric:
In the case of |
verbose |
T/F: Be verbose. |
This function predicts simulated WS scores for each category score independently. If an age is not supplied, models not using age are used (less accurate than including age).
New scores (data frame of 22 scores)
Day, T. K. M., Borovsky, A., Thal, D., & Elison, J. T. (2025). Modeling Longitudinal Trajectories of Word Production With the CDI. Developmental Science, 28(4), e70036. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1111/desc.70036")}
# Create list of words a child knows
words <- c("smile", "old", "chicken (animal)", "breakfast", "snow", "uh oh",
"please", "bad", "bicycle", "moon")
# Create table
wg_categories <- wg2ws_items(words)
# Convert to WS score
ws_categories <- wg2ws_category_score(wg_categories, age = 20)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.