galloping_elephants_plot: galloping_elephants_plot

Description Usage Arguments Details Value See Also

Description

galloping_elephants_plot() is a method that serves as wrapper for galloping_elephants.

Usage

1

Arguments

.data

an object to plot

...

other arguments passed to galloping_elephants

subsetting

(required for mapvizier obejcts) a call to dplyr's filter function, leaving out the .data argument (i.e. only containing subsetting arguments)

Details

galloping_elephants_plot serves as wrapper that dispatches to galloping_elephants depending on the class of the object passed to the .data parameter.

If the object is a mapvizier object, then galloping_elephants' requirement that the data columns conform to KIPP NJ (n\'ee TEAM) canonical form is unnecessary (since we know which columns are which in a mapvizier object). The subsetting argument must be used when a mapvizier object is passed, since the data will need to be properly subsetted. The user should pass this argument a call to filter(...), where that function's .data argument is unnecessary. All other arguments (e.g. facets) are passed to galloping_elephants via the ... argument.

Ff the object is a not a mapvizier object (like a data.frame) then as with becca_plot, the user needs to identify school, cohort, year, grade-level-season, and percentile columns.

Value

a ggplot2 object

See Also

galloping_elephants, link[dplyr]{filter}


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