get_group_stats: Calculate quartiles stats for 'haid_plot'

Description Usage Arguments Value

Description

get_group_stats calculates counts and percentages used in haid_plot

Usage

1
get_group_stats(df, grp, RIT, dummy_y)

Arguments

df

a data frames with individual RIT scores and grouping variable

grp

the variable to group by

RIT

the column in the data frame with RIT scores

dummy_y

column used to establish data placement on haid_plot

Value

A data frame with aggregate values grouped by grp for count of students, y-axis placement, group average RIT, percent of students in group (relative to total students), and the total count of students.


almartin82/MAP-visuals documentation built on May 10, 2019, 9:24 a.m.