| summarise_items | R Documentation |
Get item-by-age summary statistics
summarise_items(item_data, db_args = NULL)
item_data |
A dataframe as returned by |
db_args |
List with arguments to connect to wordbank mysql database (host, dbname, user, and password). |
A dataframe with a row for each combination of item and age, and
columns for summary statistics for the group: number of children
(n_children), means (comprehension, production),
standard deviations (comprehension_sd, production_sd); also
retains item-level variables from lang_items (item_id,
item_definition, uni_lemma, lexical_category).
italian_items <- get_item_data(language = "Italian", form = "WG")
if (!is.null(italian_items)) {
italian_dog <- dplyr::filter(italian_items, uni_lemma == "dog")
italian_dog_summary <- summarise_items(italian_dog)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.