View source: R/student_npr_history_plot.R
student_npr_history_plot | R Documentation |
This plots a proto-typical example of Edward Tufte's small multiples concept. A class of students in one subject and grade is plotted, witch each student's historical national percentile rank plotted with a simple linear fit.
The background colors indicate the quartile the assessment earned.
student_npr_history_plot(mapvizieR_obj, studentids, measurementscale,
title_text = "")
mapvizieR_obj |
a |
studentids |
a set of student ids to subset to |
measurementscale |
a MAP measurementscale |
title_text |
title as a character vector |
a ggplot2 object
## Not run:
require(dplyr)
data("ex_CombinedStudentsBySchool")
data("ex_CombinedAssessmentResults")
map_mv <- mapvizieR(ex_CombinedAssessmentResults, ex_CombinedStudentsBySchool)
ids <- ex_CombinedStudentsBySchool %>%
dplyr::filter(
Grade == 8,
SchoolName == "Mt. Bachelor Middle School",
TermName == "Spring 2013-2014") %>%
dplyr::select(StudentID) %>%
unique()
student_npr_history_plot(
map_mv,
studentids = ids[1:80, "StudentID"],
measurementscale = "Reading")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.