Compute achieved precision for several indicators under a two- or
three-stage cluster allocation. This is the inverse of
n_multi_cluster().
Usage
prec_multi_cluster(targets, ...)
# Default S3 method
prec_multi_cluster(
targets,
...,
domains = NULL,
stage_cost = NULL,
plan = NULL
)
# S3 method for class 'svyplan_cluster'
prec_multi_cluster(targets, ...)Arguments
- targets
For the default method, a non-empty data frame with one row per indicator. It must contain
nandpsu_size. Includessu_sizefor a three-stage design. Cluster homogeneity and indicator columns follow the schema used byn_multi_cluster(). Forsvyplan_clustermethods, an allocation returned byn_multi_cluster().- ...
Additional arguments passed to methods. Unused arguments are rejected.
- domains
Optional character vector naming domain columns in
targets.- stage_cost
Optional per-stage costs to retain for a later round trip to
n_multi_cluster(). Costs do not enter the precision calculation.- plan
Optional
svyplan()profile providing design metadata.