CVs_hint | R Documentation |
Function to propose a convenient set of precision constraints, given the different variability of target variables Ys in the strata
CVs_hint(strata, cv)
strata |
the 'strata' dataset. |
errors |
the 'errors' dataset containing the current precision constraints. |
The function requires in input the 'strata' dataset, plus an initial set of precision constraints. It is suggested to define a 'neutral' set, i.e. equal CVs for all variable, possibly differentiated only with regard to the different domain levels
the new 'errors' dataset containing the changed precision constraints
data(beat.example)
errors[1,c(2:3)] <- c(0.03,0.03)
errors[2,c(2:3)] <- c(0.03,0.03)
errors
cv <- CVs_hint(strata,errors)
cv
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.