becca_plot2: becca_plot2

Description Usage Arguments Details Value See Also

Description

becca_plot2() is a method that serves as wrapper for becca_plot.

Usage

1
becca_plot2(.data, ...)

Arguments

.data

an object to plot

...

other arguments passed to becca_plot

subsetting

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

Details

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

If the object is a mapvizier object, then becca_plots requirement that the user identify a litany of columns in the data 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 becca_plot 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 link[ggplot2]{ggplot2} object

See Also

becca_plot, link[dplyr]{filter}


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