| .grouped_list | R Documentation |
This function splits the data frame into a list, with the length of the list equal to the factor levels of the grouping variable.
.grouped_list(data, grouping.var)
data |
A data frame (or a tibble) from which variables specified are to
be taken. Other data types (e.g., matrix, table, array, etc.) will not
be accepted. Additionally, grouped data frames from |
grouping.var |
A single grouping variable. A separate plot is created for each of its levels (in factor level order, or in order of appearance for character variables). Rows with a missing value in this variable are removed. |
ggstatsplot:::.grouped_list(ggplot2::msleep, grouping.var = vore)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.