plot.mapvizierSummary: plot method for 'mapvizierSummary' class

Description Usage Arguments Details Value Examples

Description

Plots a ggplot2 object from a mapvizierSummary object

Usage

1
2
3
4
## S3 method for class 'mapvizierSummary'
plot(x, growthseason = "Fall - Spring",
  subjects = c("Reading", "Mathematics", "General Science"),
  grades = c(2:8), years = NULL, metric = "Typical", by = "grade")

Arguments

x

a mapvizierSummary object

growthseason

a character string denoting test term name (i.e. growth seaons):

  • "Spring - Spring"

  • "Fall - Spring"

  • "Fall - Winter"

  • "Winter - Spring"

  • "Fall - Fall"

subjects

character string to subset subjects/measurement scales by:

  • "Mathematics"

  • "Reading"

  • "General Science"

  • "Language Usage"

grades

integer vector to subset grades by (NB: Kindergarten should be denoted 0)

years

integer vector with years of second test year in term names (i.e., to plot results from SY2010-2011, SY 2011-2012, and SY 2012-2013, you should pass the vector c(2011, 2012, 2013) or c(2011:2013)).

metric

character value indicating which MAP measurement to plot. Choices are:

  • "Typical":

  • "CR":

  • "50th" =

  • "75th" =

by

must be either "grade" or "cohort" indicating if you want metrics grouped by grade-level (i.e., all 5th grade's over time) or by cohort (i.e., show class fo 2018's performance over time.)

Details

Creates and prints a ggplot2 object from a mapvizierSummary object. User can choose subjects, growth season, grades, and years to subest data prior to plotting

Value

a gglot2 object

Examples

1
2
3
4
data(nweamap)
x<-mapvizier(nweamap)
x.sum<-summary(x)
plot(x.summ)

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