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.">

whSample: Utilities for Sampling (original) (raw)

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
DOI: 10.32614/CRAN.package.whSample
Author: Paul West [aut, cre]
Maintainer: Paul West
License: GPL-3
NeedsCompilation: no
Materials: README
CRAN checks: whSample results

Documentation:

Downloads:

Linking:

Please use the canonical formhttps://CRAN.R-project.org/package=whSampleto link to this page.