a
to A
and a0
to A0
for several
functions.rnabox()
so that it can perform both versions of the RNABOX
algorithm, i.e.: step 1 handles one-sided upper bounds whilst step 2 handles
one-sided lower bounds, or conversely, depending on the user preferences.ran_round()
and round_oric()
for rounding of
(non-integer) numbers.var_tst_si()
function to var_st_tsi()
.var_tst()
function to var_st()
.unit_cost
variable into pop507
, pop969
and pop10_mM
datasets. allocation_summary()
function to asummary()
.unit_costs
to optcost()
function. unit_costs
to rna()
function.n
to total_cost
in rna()
function.dopt()
function to opt()
.nopt()
function to optcost()
.nopt()
function, changed the name of two parameters: D
to V
and
b
to a0
.rna()
. Vector Ri
of take-bound
indices is now a logical vector instead of the integer vector.h_get_which_violates()
helper as it is not needed anymorecheck_violations
to rna()
function which replaces
h_get_which_violates()
approach.b
to a0
in var_tst_si()
function.rna_onesided()
function to rna()
.allocation_summary()
that summarizes the allocation.rnabox()
to handle box-constraints case.rna_onesided()
so that it optionally returns take-Neyman, take-min,
take-max set of strata indices.rna_one_sided()
to rna_onesided()
.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.Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.