checkInput {SamplingStrata}R Documentation

Checks the inputs to the package: dataframes "errors", "strata" and "sampling frame"

Description

This functions checks the internal structure of the different input dataframes ("errors", "strata" and "sampling frame"), and also the correctness of the relationships among them.

Usage

checkInput(errors=NULL, strata=NULL, sampframe=NULL)

Arguments

errors

Dataframe containing the precision levels expressed in terms of maximum acceptable coefficients of variation that estimates of target variables Y's of the survey must comply.

strata

Dataframe containing the information related to strata.

sampframe

Dataframe containing the information related to all the units belonging to the population of interest.

Author(s)

Giulio Barcaroli

Examples

## Not run: 
library(SamplingStrata)
data(swisserrors)
data(swissstrata)
data(swissframe)
checkInput(swisserrors,swissstrata,swissframe)
checkInput(strata=swissstrata,sampframe=swissframe)
checkInput(strata=swissstrata)

## End(Not run)

[Package SamplingStrata version 1.5-4 Index]