man/examples/wg2ws_category_score.R

# 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)

Try the cdiWG2WS package in your browser

Any scripts or data that you put into this service are public.

cdiWG2WS documentation built on June 17, 2025, 9:10 a.m.