Generate a vector of school assignments for all individuals in the population
Source:R/variables.R
generate_initial_schools_bootstrap.RdAlternative to generate_initial_schools. Rather than using a parametric
distribution, this function uses sampling with replacement from a reference
dataset. This is known as bootstrapping. The dataset used is schools_uk.
Arguments
- parameters_list
A list of model parameters as generated by
get_parameters- age_class_variable
An
individual::CategoricalVariablefor the age classes