beat.1cv: The function returns a dataframe with planned and actual...

View source: R/beat.1cv.R

beat.1cvR Documentation

The function returns a dataframe with planned and actual coefficients of variation (CV) in a multivariate multi-domain allocation problem.

Description

The function returns a dataframe with planned and actual coefficients of variation (CV) in a multivariate multi-domain allocation problem.

Usage

beat.1cv(stratif, errors, alloc, minnumstrat = 2)

Arguments

stratif

A dataframe with strata information.

errors:

A dataframe with planned CV.

alloc:

A vector with an allocation into strata.

minnumstrat:

Optional. A number indicating the lower bound for the number of allocated units in each stratum (default is 2).

Value

A dataframe with planned and actual CV for each combination of domain, domain category and auxiliary variable.


barcaroli/R2BEAT documentation built on Jan. 9, 2025, 8:09 a.m.