Utilities for Sampling

Interactive tools for generating random samples. Users select an .xlsx, .csv, or delimited .txt file with population data and are walked through selecting the sample type (Simple Random Sample or Stratified), the number of backups desired, and a "stratify_on" value (if desired). The sample size is determined using a normal approximation to the hypergeometric distribution based on Nicholson (1956) . An .xlsx file is created with the sample and key metadata for reference. It is menu-driven and lets users pick an output directory. See vignettes for a detailed walk-through.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("whSample") by Paul West, 6 months ago

Browse source code at https://github.com/cran/whSample

Authors: Paul West [aut, cre]

Documentation:   PDF Manual  

GPL-3 license

Imports data.table, magrittr, openxlsx, dplyr, purrr, tools, utils, bit64

Suggests knitr, rmarkdown, testthat

See at CRAN