View source: R/d96plotfunctions.R
plotAssign | R Documentation |
plotAssign
shows on a map how students are assigned to schools. There are a number of options for what can be plotted,
inlcuding how the algorithm assigns students, the actual assignment of students, etc.
plotAssign(sa, what = "AlgoAssign", ptitle = "", pcaption = "", dsize = 1, print_map = T, djitter = 3e-04, googMap)
sa |
a student assignment dataframe |
what |
kind of assignment to be plotted. Options are "AlgoAssign", "School" (actual assignment), "Final" (same as Algo except for Siblings) |
ptitle |
title for plot |
pcaption |
caption for plot |
dsize |
size of points |
print_map |
whether to print the map or return a ggmap object |
djitter |
amount of jitter |
googMap |
a google map of Riverside in the ggmap format |
a plot showing how students are assigned
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.