Wrapper to generate probabilities. The wrapper calls runChecksOnSelectionAndProbs which main tests need to be passed before probabilities can be calculated. The it calls generateProbs for each sample in each sampling level of the hierarchy.
applyGenerateProbs(
x,
probType,
overwrite,
runInitialProbChecks = TRUE,
strict = TRUE
)
RDBES data object
string. Can be set to "selection" (only selection probabilities are calculated), "inclusion" (only inclusion probabilities are calculated) or "both" (both types of probabilities are calculated)
if TRUE will overwrite probabilities already existing for SRSWR and SRSWOR
if TRUE runs runChecksOnSelectionAndProbs
(Optional) This function validates its input data - should the validation be strict? The default is TRUE.
a list of all the RDBES data tables with probabilites calculated
# To be added