This function is called towards the final stages of the stratification process after OSB have been determined. It uses the boundaries to calculate the stratum sample allocations using Neyman allocation for all individual strata using the raw data.
data.alloc(data, my_env)
calculates and stores quantities such as nh, Nh, Vh, etc.
in the my_env to be accessed and printed as outputs
A vector: provided as an input to the function
The environment my_env has various constants and outputs stored from earlier operations through various other functions
Karuna Reddy <karuna.reddy@usp.ac.fj>
MGM Khan <khan_mg@usp.ac.fj>