nopt
for minimization of total sample size under constraints on variance and upper bounds on strata sample sizes.rNa
into rna_one_sided
so that it also computes the allocation under optional lower bounds constraints.nopt
do dopt
to reflect the fact that it minimizes variance function D.