haid_plot: Chris Haid's Waterfall-Rainbow-Arrow Chart

Description Usage Arguments Details Value Examples

Description

haid_plot returns a ggplot object showing per student MAP performance

Usage

1
2
3
4
5
6
7
haid_plot(df, ..., student_col_name, start_col_name, end_col_name,
  start_percentile_col_name, end_percentile_col_name, keep_up_col_name,
  col_ready_col_name, start_season_abbrev, end_season_abbrev,
  growth_status_col_name, name_status_col_name, y_sort_column, p_title = "",
  p_arrow_colors, p_arrow_tiers, p_name_colors, p_name_color_tiers,
  p_quartile_colors = c("#f3716b", "#79ac41", "#1ebdc2", "#a57eb8"),
  p_name_size = 3, p_alpha = 1)

Arguments

df

either a mapvizier object or data frame with columns for RIT scores (start and/or end season), predicted typical and college ready growth, growth status, etc. (That is, all the columns named below).

...

arguments passed to filter used to subset the mapvizier objeect df. These arguments are ignored if the data frame is not a mapvizier object.

student_col_name

string identifying colummn in df of student names.

start_col_name

string identifying colummn in df of first term's RIT score.

end_col_name

string identifying colummn in df of second term's RIT score.

start_percentile_col_name

string identifying colummn in df with first terms NPR.

end_percentile_col_name

string identifying colummn in df with second terms NPR.

keep_up_col_name

string identifying colummn in df typical (or project) term 1 to term 2 growth.

col_ready_col_name

string identifying colummn in df college ready term 1 to term 2 growth

start_season_abbrev

string indicating term 1's name (e.g. Fall).

end_season_abbrev

string indicating term 2's name (e.g. Spring).

growth_status_col_name

string identifying column in df indicating students growth status.

name_status_col_name

??? Thoughts Andrew???

y_sort_column

string identifying column in df used to sort students vertically.

p_title

= ” string used for title.

p_arrow_colors

vector of colors passed to ggplot.

p_arrow_tiers

vector of colors passed to ggplot.

p_name_colors

vector of colors passed to ggplot.

p_name_color_tiers

vector of colors passed to ggplot.

p_quartile_colors

vector of colors passed to ggplot.

p_name_size

sets point size of student names.

p_alpha

sets level fo transparency for goals.

Details

This function builds and prints aa graphich that plots MAP performance over one or two seasons. RIT scores are color coded by percentile. If a second season is passed to the function (in end_col_name), then arrows between estimated RIT scores for the two seasons are added to plot and are color coded based on the amount of growth attained (postive, typical, college ready, and negative)

Value

prints a ggplot object

Examples

1

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