crsra_membershares {crsra} | R Documentation |
The share of learners in each course based on specific characteristics.
Description
The share of learners in each course based on specific characteristics.
Usage
crsra_membershares(all_tables, groupby = c("roles", "country", "language",
"gender", "empstatus", "education", "stustatus"), remove_missing = TRUE)
Arguments
all_tables |
A list from |
groupby |
A character string indicating the how to break down learners
in each course. The default is set to |
remove_missing |
Should the |
Value
A table which indicates the total number and the share of students in each group for each course
Examples
crsra_membershares(
example_course_import,
groupby = "country")
crsra_membershares(
example_course_import,
groupby = "roles", remove_missing = FALSE)
crsra_membershares(
example_course_import,
groupby = "roles", remove_missing = TRUE)