visualizeSGP( sgp_object, plot.types=c("bubblePlot", "studentGrowthPlot", "growthAchievementPlot"), state, bPlot.years=NULL, bPlot.content_areas=NULL, bPlot.districts=NULL, bPlot.schools=NULL, bPlot.instructors=NULL, bPlot.styles=c(1), bPlot.levels=NULL, bPlot.level.cuts=NULL, bPlot.full.academic.year=TRUE, bPlot.minimum.n=10, bPlot.anonymize=FALSE, bPlot.prior.achievement=TRUE, bPlot.draft=FALSE, bPlot.demo=FALSE, bPlot.output="PDF", bPlot.format="print", bPlot.folder="Visualizations/bubblePlots", sgPlot.save.sgPlot.data=FALSE, sgPlot.years=NULL, sgPlot.content_areas=NULL, sgPlot.districts=NULL, sgPlot.schools=NULL, sgPlot.reports.by.school=TRUE, sgPlot.instructors=NULL, sgPlot.reports.by.instructor=FALSE, sgPlot.students=NULL, sgPlot.reports.by.student=FALSE, sgPlot.reports.group.vars= list(DISTRICT_NUMBER="DISTRICT_NUMBER", SCHOOL_NUMBER="SCHOOL_NUMBER"), sgPlot.header.footer.color="#4CB9CC", sgPlot.front.page=NULL, sgPlot.folder="Visualizations/studentGrowthPlots", sgPlot.folder.names="number", sgPlot.fan=TRUE, sgPlot.custom.trajectory=FALSE, sgPlot.sgp.targets=FALSE, sgPlot.sgp.targets.timeframe=3, sgPlot.anonymize=FALSE, sgPlot.cleanup=TRUE, sgPlot.demo.report=FALSE, sgPlot.produce.plots=TRUE, sgPlot.baseline=NULL, sgPlot.zip=TRUE, sgPlot.output.format="PDF", sgPlot.year.span=5, sgPlot.plot.test.transition=TRUE, gaPlot.years=NULL, gaPlot.content_areas=NULL, gaPlot.students=NULL, gaPlot.format="print", gaPlot.baseline=NULL, gaPlot.max.order.for.progression=NULL, gaPlot.start.points="Achievement Level Cuts", gaPlot.back.extrapolated.cuts=NULL, gaPlot.SGPt=NULL, gaPlot.folder="Visualizations/growthAchievementPlots", parallel.config=NULL)
sgp_object | An object of class SGP containing long formatted data in the |
---|---|
plot.types | A character vector indicating what types of plots to construct. Currently available plots include |
state | Acronym indicating state associated with the summaries for access to assessment program information embedded in |
bPlot.years | A vector indicating year(s) in which to produce |
bPlot.content_areas | A vector indicating content area(s) to produce |
bPlot.districts | A vector indicating districts to produce |
bPlot.schools | A vector indicating schools to produce |
bPlot.instructors | A vector indicating instructors to produce |
bPlot.styles | A vector of positive integers indicating the types of |
bPlot.levels | A character vector of levels to be used to color bubbles in the |
bPlot.level.cuts | A vector of cuts to be used to distinguish levels used to color bubbles in the |
bPlot.full.academic.year | A Boolean argument (defaults to TRUE) indicating whether |
bPlot.minimum.n | A positive integer (defaults to 10) indicating the minimum size for summary values to be displayed in the |
bPlot.anonymize | A Boolean argument (defaults to FALSE) indicating whether to anonymize |
bPlot.prior.achievement | A Boolean argument (defaults to TRUE) indicating whether to produce |
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.demo | A Boolean argument (defaults to FALSE) indicating whether to produce demo student level plots (styles 150 and/or 153) for instructors. |
bPlot.output | Argument indicating the desired type of output format for bubble plots. Either 'PDF' (default) or 'PNG'. |
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 |
sgPlot.save.sgPlot.data | A Boolean argument indicating whether wide formatted data should be save as part of individual student report production. For operational student report production construction, using a wide formatted file for a large state can save in having to reshape the same long file multiple times. |
sgPlot.years | A vector indicating year for which to produce |
sgPlot.content_areas | A vector indicating the content areas for which to produce |
sgPlot.districts | A vector indicating which districts to produce |
sgPlot.schools | A vector indicating which schools to produce |
sgPlot.reports.by.school | A Boolean variable indicating whether the reports should be collated as single reports in a single folder by school and deposited into a
|
sgPlot.instructors | A vector indicating which instructors to produce |
sgPlot.reports.by.instructor | A Boolean variable indicating whether the reports should be collated as single reports in a single folder by school and deposited into a
|
sgPlot.students | A vector of student |
sgPlot.reports.group.vars | A list of variables used to group student reports. Default is |
sgPlot.reports.by.student | A Boolean variable indicating whether the reports should be collated as single reports in a single folder or deposited into a
|
sgPlot.header.footer.color | Character vector (default is blue) indicating the color of the header/footer associated with the
|
sgPlot.front.page | A path to a PDF to be used as the front page to the |
sgPlot.folder | Character vector indicating where |
sgPlot.folder.names | Either "name" or "number" (the default) indicating how the nested folder structure will be labeled that holds the
|
sgPlot.fan | A Boolean argument (defaults to TRUE) indicating whether to produce projection fan on |
sgPlot.custom.trajectory | A Boolean argument (defaults to FALSE) or a character vector indicating the variable name containing the custom trajectory coordinates to be plotted. |
sgPlot.sgp.targets | A Boolean argument (defaults to TRUE) indicating whether to indicate SGP growth targets on |
sgPlot.sgp.targets.timeframe | An integer argument specifying the number of years forward associated with targets to be added to the student growth plots. |
sgPlot.anonymize | A Boolean argument (defaults to FALSE) indicating whether to anonymize |
sgPlot.cleanup | A Boolean argument (defaults to TRUE) indicating whether to remove files produced by pdfLaTeX to produce |
sgPlot.demo.report | A Boolean argument (defaults to TRUE) indicating whether to just produce a sample |
sgPlot.produce.plots | A Boolean argument (defaults to TRUE) indicating whether to produce |
sgPlot.baseline | Argument (defaults to NULL) indicating whether to use baseline referenced SGPs for student growth plot construction. If not set by user,
argument will be set using |
sgPlot.zip | A Boolean argument (defaults to TRUE) indicating whether to zip school folders containing |
sgPlot.output.format | Argument indicating the desired type of output format for student growth plots. Either 'PDF' (default), 'PNG', 'PDF_PIECES', or 'JSON'. |
sgPlot.year.span | Integer argument (defaults to 5) indicating the number of years to display for the pdf student growth plot. |
sgPlot.plot.test.transition | Boolean argument (defaults to TRUE) indicating whether test transition data will be used IF it's available. Setting to FALSE ignore previous test transition data, which would indicate a desire to 'forget the past'. |
gaPlot.years | A vector indicating the year(s) for which to produce |
gaPlot.content_areas | A vector indicating content area(s) to produce |
gaPlot.students | A vector of student |
gaPlot.format | Either 'print' or 'presentation' indicating whether to optimize the plot for print form (light background) or presentation form (dark background). |
gaPlot.baseline | Argument (defaults to NULL) indicating whether to calculate growth and achievement plots using percentile trajectories derived from baseline
referenced coefficient matrices. If not set by user, argument will be set using |
gaPlot.max.order.for.progression | The maximum coefficient matrix order to use for each progression. Default is NULL which utilizes the maximum order available with the coefficient matrices. |
gaPlot.start.points | Either 'Achievement Level Cuts' or 'Achievement Percentiles' defining where the percentile trajectories of the growth achievement plot will start from. |
gaPlot.folder | Character vector indicating where |
gaPlot.back.extrapolated.cuts | A numeric value or Boolean vector indicating whether to create back extrapolated cutscores based upon nth percentile growth. |
gaPlot.SGPt | Boolean indicator for growth achievement plot indicating whether time dependent SGPs are to be used for student growth projections |
parallel.config | A named list with, at a minimum, two elements indicating 1) the BACKEND package to be used for parallel computation and 2) the WORKERS list to specify the number of processors to be used in each major analysis. The BACKEND element can be set = to TYPE is a third element of the The WORKERS element is a list with GA_PLOTS (growth achievement plots) and SG_PLOTS (student growth plots) specifying the number of processors to be used. NOTE: choice of the number of cores is a balance between the number of processors available and the amount of RAM a system has; each system will be different and may require some adjustment. Default is FOREACH as the back end, TYPE=NA and both plot WORKERS=1, which produces plots sequentially: 'list(BACKEND="FOREACH", TYPE=NA, WORKERS=list(GA_PLOTS=1, SG_PLOTS=1))' Examples of various parallel configurations can be found in the examples for |
Function produces numerous (potentially hundreds of thousands) of pdf files in a folder structure specified by the user and supplied through arguments to the function.
Betebenner, D. W. (2012). Growth, standards, and accountability. In G. J. Cizek, Setting Performance Standards: Foundations, Methods & Innovations. 2nd Edition (pp. 439-450). New York: Routledge.
Betebenner, D. W. (2009). Norm- and criterion-referenced student growth. Educational Measurement: Issues and Practice, 28(4):42-51.
bubblePlot
, bubblePlot_Styles
, studentGrowthPlot
, growthAchievementPlot
not_run({ ## visualizeSGP is Step 5 of 5 of abcSGP Demonstration_SGP <- sgpData_LONG Demonstration_SGP <- prepareSGP(Demonstration_SGP) Demonstration_SGP <- analyzeSGP(Demonstration_SGP) Demonstration_SGP <- combineSGP(Demonstration_SGP) Demonstration_SGP <- summarizeSGP(Demonstration_SGP) visualizeSGP(Demonstration_SGP) ## Produce a DEMO catalog of student growth plots visualizeSGP( sgp_object=Demonstration_SGP, plot.types="studentGrowthPlot", state="DEMO", sgPlot.demo.report=TRUE) ## Production of sample student growth and achievement plots visualizeSGP( sgp_object=Demonstration_SGP, plot.types="studentGrowthPlot", state="DEMO", sgPlot.districts=470, sgPlot.schools=c(6418, 8008), sgPlot.header.footer.color="#4CB9CC") })