wg2ws_summarize_cat: Summarize category table

View source: R/wg2ws_summarize_cat.R

wg2ws_summarize_catR Documentation

Summarize category table

Description

Summarize category table

Usage

wg2ws_summarize_cat(category_scores)

Arguments

category_scores

A 22x2 category result table

Details

Given a 22x2 category table, calculate total scores and lexical and syntax scores.

Value

A three column data frame, with total score, lexical, and syntactic scores

References

Day, T. K. M., & Elison, J. T. (2021). A broadened estimate of syntactic and lexical ability from the MB-CDI. Journal of Child Language, 49(3), 615-632. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1017/S0305000921000283")}

Examples


words <- c("smile", "old", "chicken (animal)", "breakfast", "snow", "uh oh",
           "please", "bad", "bicycle", "moon")

categories <- wg2ws_items(words)
scores <- wg2ws_summarize_cat(categories)

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