This function re-calculates or re-allocate the stratum sample sizes (nh) after it has already been initially allocated via Neyman allocation. This is applied to resolve the problem of oversampling in one or more of the strata.
realloc(h, x, nh, Nh, nume, my_env)
calculates and presents the new re-allocate stratum samples
A numeric: the no. of strata
A vector: the osb that has been calculated
A vector: the stratum sample sizes that have been initially calculated
A vector: the stratum population sizes that have been initially calculated
A numeric: the numerator total
The environment my_env has various constants and outputs stored from earlier opeartions through various other functions
Karuna Reddy <karuna.reddy@usp.ac.fj>
MGM Khan <khan_mg@usp.ac.fj>