View source: R/goal_strand_plot.R
goal_strand_plot | R Documentation |
Plots a group of students' goal strand RIT scores, with each student ranked by overall RIT score. Colors of points indicating goal strand RIT scores indicate deviation from overall RIT score; colors of overall RIT mark (|) indicate national percentile rank of the overall RIT score.
goal_strand_plot(mapvizieR_obj, studentids, measurementscale, fws, year)
mapvizieR_obj |
a |
studentids |
vector of student id numbers for students to plot |
measurementscale |
measurementscale to plot |
fws |
season (fall, winter, or spring) to plot |
year |
academic year to plot |
Creates and prints a ggplot2 object showing both overall and goal strand RIT scores for each student in a subets.
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") %>% select(StudentID) %>%
unique()
goal_strand_plot(
map_mv,
studentids = c(ids[1:49, "StudentID"]),
measurementscale = "Mathematics",
fws = "Spring",
year = 2013
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.