assign_schools_inner: Function which assigns schools

Description Usage Arguments Value

View source: R/schools.R

Description

Function which assigns schools

Usage

1
assign_schools_inner(df, schools, weightSchools, distFun)

Arguments

df

subset of people split so all age, grade, SCH, and county should be the same in the df

schools

list of schools, one data frame of private and one of public

weightSchools

Function to weight the schools

distFun

Function to compute distance between schools and agents

Value

column of school ID assignments


leerichardson/spew documentation built on May 21, 2019, 1:39 a.m.