# NOT RUN {
# Calculate Hedges' g for all pairwise comparisons
hedg_g(star, reading ~ condition)
# Report only relative to regular-sized classrooms
hedg_g(star,
reading ~ condition,
ref_group = "reg")
# Report by ELL and FRL groups for each season, compare to non-ELL students
# who were not eligible for free or reduced price lunch in the fall (using
# the formula interface for reference group referencing).
hedg_g(benchmarks,
math ~ ell + frl + season,
ref_group = ~`Non-ELL` + `Non-FRL` + Fall)
# Same thing but with character vector supplied, rather than a formula
hedg_g(benchmarks,
math ~ ell + frl + season,
ref_group = c("Non-ELL", "Non-FRL", "Fall"))
# }
Run the code above in your browser using DataLab