gen_schools: Generate a roster of schools to assign students to

Description Usage Arguments Details Value

View source: R/sim_defaults.R

Description

Generate a roster of schools to assign students to

Usage

1
gen_schools(control)

Arguments

control

simulation control parameters from sim_control

Details

Controls include:

n

number of schools

mean

a vector of means for the school attributes

sigma

a covariance matrix for the school attributes

names

vector to draw names from

best_schl

a character value specifiying the ID of the best school

Value

a data.frame with schools and their attributes


strategicdataproject/OpenSDPsynthR documentation built on June 20, 2020, 6:17 a.m.