Learn R Programming

SGP (version 0.7-1.0)

bubblePlot_Styles: bubblePlot_Styles providing various uses of the core bubblePlot function

Description

Function includes a number of "styles" associated with bubblePlot to create bubble plots depicting a variety of relationships often of interest to stakeholders. The bubblePlot function itself is adaptable to many representations but is most often used in conjunction with results derived from summarizeSGP to represent summary level results of growth against achievement (usually, median student growth percentile against percentage at/above proficient).

Usage

bubblePlot_Styles(
                sgp_object,
		state,
		bPlot.years=NULL,
		bPlot.content_areas=NULL,
		bPlot.districts=NULL,
		bPlot.schools=NULL,
		bPlot.styles=c(1),
		bPlot.levels=NULL, 
		bPlot.full.academic.year=TRUE,
		bPlot.minimum.n=10,
		bPlot.anonymize=FALSE,
		bPlot.prior.achievement=TRUE, 
		bPlot.draft=FALSE,
		bPlot.format="print",
		bPlot.folder="Visualizations/bubblePlots")

Arguments

sgp_object
An object of class SGP containing long formatted data in the Data slot that will be used for the production of student growth and achievement plots and system growth and achievement plots, summary data from
state
Acronym indicating state associated with the summaries for access to assessment program information embedded in stateData.
bPlot.years
A vector indicating year(s) in which to produce bubblePlots using data available in sgp_object. If missing the function will use the last year available in the data to produce
bPlot.content_areas
A vector indicating content area(s) to produce bubblePlots using data available in sgp_object. If missing the function will produce plots for all available content areas provided in the dat
bPlot.districts
A vector indicating districts to produce bubblePlots using data available in sgp_object. If missing the function will produce plots for all available districts provided in the data where di
bPlot.schools
A vector indicating schools to produce bubblePlots using data available in sgp_object. If missing the function will produce plots for all available schools provided in the data where distri
bPlot.styles
A vector of positive integers indicating the types of bubblePlots to produce using data available in sgp_object. See associated documentation for example plots.
bPlot.levels
A character vector of levels to be used to color bubbles in the bubblePlot. See associated documentation for example plots.
bPlot.full.academic.year
A boolean argument (defaults to TRUE) indicating whether bubblePlots should use full academic year results if available.
bPlot.minimum.n
A positive integer (defaults to 10) indicating the minimum size for summary values to be displayed in the bubblePlots.
bPlot.anonymize
A boolean argument (defaults to FALSE) indicating whether to anonymize bubblePlots school and district names that appear in the plots and data tips of the plots. For student level anonymization, the fun
bPlot.prior.achievement
A boolean argument (defaults to TRUE) indicating whether to produce bubblePlots using prior achievement as well as current achievement as the vertical dimension of the
bPlot.draft
A boolean argument (defaults to FALSE) indicating whether to put an indicator on the chart noting that the results are draft and to not distribute.
bPlot.format
Either "print" or "presentation" indicating whether to optimize the plot for print form (light background) or presentation form (dark background).
bPlot.folder
Character vector indicating where bubblePlots should be placed. Default folder is "Visualizations/bubblePlots".

Value

  • Function produces numerous PDF bubble charts in the styles specified by the function.

Details

bubblePlot_Styles is an omnibus function containing a number of applications of the bubblePlot function with data output from SGP analyses. As added stytles are constructed they will be added to the function allowing user to construct plots of their liking. User wishing to participate and provide or suggest specific styles of their own should contact the package maintainer. Styles representing summary level data (e.g., growth and achievement for schools) are currently assigned numbers from 1 to 99 and styles representing individual level data (e.g., growth and achievement for students within a single grade) are currently assigned numbers from 100 to 199. ll{ 1: Growth and achievement bubblePlots for the entire state with bubbles representing schools. 100: Growth and achievement bubblePlots by grade for students in selected schools and districts. }