whSample: 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) <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.6.2
Depends: R (≥ 3.5.0)
Imports: data.table, magrittr, openxlsx, dplyr, purrr, tools, utils, bit64
Suggests: knitr, rmarkdown, testthat
Published: 2021-05-13
Author: Paul West [aut, cre]
Maintainer: Paul West <fp8049 at gmail.com>
License: GPL-3
NeedsCompilation: no
Materials: README
CRAN checks: whSample results

Documentation:

Reference manual: whSample.pdf
Vignettes: Creating samples with sampler
Determining sample sizes with ssize

Downloads:

Package source: whSample_0.9.6.2.tar.gz
Windows binaries: r-devel: whSample_0.9.6.2.zip, r-release: whSample_0.9.6.2.zip, r-oldrel: whSample_0.9.6.2.zip
macOS binaries: r-release (arm64): whSample_0.9.6.2.tgz, r-oldrel (arm64): whSample_0.9.6.2.tgz, r-release (x86_64): whSample_0.9.6.2.tgz
Old sources: whSample archive

Linking:

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