checkInput | R Documentation |
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.
checkInput(errors=NULL, strata=NULL, sampframe=NULL)
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. |
Giulio Barcaroli
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.