Learn R Programming

educabR (version 0.1.2)

enem_summary: Summary statistics for ENEM scores

Description

Calculates summary statistics for ENEM scores, optionally grouped by demographic variables.

Usage

enem_summary(data, by = NULL)

Value

A tibble with summary statistics for each score area.

Arguments

data

A tibble with ENEM data (from get_enem()).

by

Optional grouping variable(s) as character vector.

Examples

Run this code
if (FALSE) {
enem <- get_enem(2023, n_max = 10000)

# overall summary
enem_summary(enem)

# summary by sex
enem_summary(enem, by = "tp_sexo")
}

Run the code above in your browser using DataLab