Other packages > Find by keyword >

whSample  

Utilities for Sampling
View on CRAN: Click here


Download and install whSample package within the R console
Install from CRAN:
install.packages("whSample")

Install from Github:
library("remotes")
install_github("cran/whSample")

Install by package version:
library("remotes")
install_version("whSample", "0.9.6.2")



Attach the package and use:
library("whSample")
Maintained by
Paul West
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2020-08-28
Latest Update: 2021-05-13
Description:
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.
How to cite:
Paul West (2020). whSample: Utilities for Sampling. R package version 0.9.6.2, https://cran.r-project.org/web/packages/whSample. Accessed 28 Oct. 2026.
Previous versions and publish date:
(2026-07-09 07:00), 0.8.9 (2020-08-28 12:40), 0.9.0 (2020-08-31 08:30), 0.9.2 (2020-09-03 00:40), 0.9.4 (2021-01-14 06:40), 0.9.6.2 (2021-05-13 17:00)
Other packages that cited whSample R package
View whSample citation profile
Other R packages that whSample depends, imports, suggests or enhances
Complete documentation for whSample
Functions, R codes and Examples using the whSample R package
Some associated functions: sampler . ssize . 
Some associated R codes: sampler.R . ssize.R .  Full whSample package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

cats  
Cohort Platform Trial Simulation
Cohort plAtform Trial Simulation whereby every cohort consists of two arms, control and experimenta ...
Download / Learn more Package Citations See dependency  
nextGenShinyApps  
Craft Exceptional 'R Shiny' Applications and Dashboards with Novel Responsive Tools
Nove responsive tools for designing and developing 'Shiny' dashboards and applications. The scripts ...
Download / Learn more Package Citations See dependency  
msamp  
Estimate Sample Size to Detect Bacterial Contamination in a Product Lot
Estimates the sample size needed to detect microbial contamination in a lot with a user-specified d ...
Download / Learn more Package Citations See dependency  
ncdf4  
Interface to Unidata netCDF (Version 4 or Earlier) Format Data Files
Provides a high-level R interface to data files written using Unidata's netCDF library (version 4 or ...
Download / Learn more Package Citations See dependency  
NPHazardRate  
Nonparametric Hazard Rate Estimation
Provides functions and examples for histogram, kernel (classical, variable bandwidth and transformat ...
Download / Learn more Package Citations See dependency  

29,218

R Packages

247,686

Dependencies

77,281

Author Associations

29,219

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA