View source: R/student_npr_two_term_plot.R
student_npr_two_term_plot | R Documentation |
A small multiples plot of a set of students' national percentile rank over two terms.
student_npr_two_term_plot(mapvizieR_obj, studentids,
measurementscale = "Reading", term_first, term_second, n_col = 9,
min_n = 10)
mapvizieR_obj |
a |
studentids |
a set of student ids to subset to |
measurementscale |
a MAP measurementscale |
term_first |
the first test term. You need to use the full name, such as 'Spring 2012-2013' |
term_second |
the second test term. You need to use the full name, such as 'Fall 2013-2014' |
n_col |
number of columns to display in the plot |
min_n |
minimum number of students required to produce the plot. |
a ggplot 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_two_term_plot(
map_mv,
studentids = ids[1:80, "StudentID"],
measurementscale ="Reading",
term_first = "Spring 2012-2013",
term_second = "Fall 2013-2014",
n_col = 7,
min_n = 5)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.