get_group_stats | R Documentation |
haid_plot
get_group_stats
calculates counts and percentages used in
haid_plot
get_group_stats(df, grp, RIT, dummy_y)
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 |
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.