plotAssign: Plots student assignments

View source: R/d96plotfunctions.R

plotAssignR Documentation

Plots student assignments

Description

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.

Usage

plotAssign(sa, what = "AlgoAssign", ptitle = "", pcaption = "",
  dsize = 1, print_map = T, djitter = 3e-04, googMap)

Arguments

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

Value

a plot showing how students are assigned


j-d-miller/d96assign documentation built on March 31, 2022, 7:36 a.m.