Calculates summary statistics for ENEM scores, optionally grouped by demographic variables.
Arguments
- data
A tibble with ENEM data (from
get_enem()).- by
Optional grouping variable(s) as character vector.
See also
Other ENEM functions:
get_enem(),
get_enem_escola(),
get_enem_itens()
Examples
if (FALSE) { # \dontrun{
enem <- get_enem(2023, n_max = 10000)
# overall summary
enem_summary(enem)
# summary by sex
enem_summary(enem, by = "tp_sexo")
} # }