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


News

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

0.9.2 by Paul West, 18 days 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

Suggests knitr, rmarkdown, testthat


See at CRAN