whSample: Utilities for Sampling

Interactive tools for generating random samples. Users select an .xlsx or .csv 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) <doi:10.1214/aoms/1177728270>. 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.

Version: 0.9.2
Depends: R (≥ 3.5.0)
Imports: data.table, magrittr, openxlsx, dplyr, purrr, tools, utils
Suggests: knitr, rmarkdown, testthat
Published: 2020-09-02
Author: Paul West [aut, cre]
Maintainer: Paul West <fp8049 at gmail.com>
License: GPL-3
NeedsCompilation: no
Materials: README
CRAN checks: whSample results


Reference manual: whSample.pdf
Vignettes: Creating samples with sampler
Determining sample sizes with ssize
Package source: whSample_0.9.2.tar.gz
Windows binaries: r-devel: whSample_0.9.2.zip, r-release: whSample_0.9.2.zip, r-oldrel: whSample_0.9.2.zip
macOS binaries: r-release: whSample_0.9.2.tgz, r-oldrel: whSample_0.9.2.tgz
Old sources: whSample archive


Please use the canonical form https://CRAN.R-project.org/package=whSample to link to this page.