The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

sampleone: Survey Sampling Methods for Teaching and Practice

Planning, selection, and estimation for surveys under the main probability sampling designs taught in introductory sampling courses: simple random sampling with and without replacement, stratified sampling (proportional, Neyman, and cost-based allocation), systematic sampling, one- and two-stage cluster sampling, and ratio and regression estimators. Functions accept a superset of the inputs a given formula requires and silently ignore arguments that are not needed for the selected computation. Each function returns a structured object with the point estimate, the associated variance and confidence interval, a step-by-step breakdown of the calculation, and a short pedagogical note suggesting related methods to explore, making the package suitable both for applied survey work and for classroom use. Methods follow Cochran (1977, ISBN:0-471-16240-X) and Bolfarine & Bussab (2005, ISBN:8521203675), among others referenced in each function's documentation.

Version: 0.1.0
Depends: R (≥ 4.1.0)
Imports: stats, utils, withr
Suggests: testthat (≥ 3.0.0), knitr, rmarkdown, covr
Published: 2026-10-13
DOI: 10.32614/CRAN.package.sampleone (may not be active yet)
Author: Miguel Luiz de Almeida Pinto [aut, cre], Mariano Martinez Espinosa [aut] (Author of the source course material (course notes) this package implements)
Maintainer: Miguel Luiz de Almeida Pinto <phd20x at gmail.com>
BugReports: https://github.com/mdelapi/sampleone/issues
License: MIT + file LICENSE
URL: https://github.com/mdelapi/sampleone
NeedsCompilation: no
Language: en-US
Citation: sampleone citation info
Materials: README, NEWS
CRAN checks: sampleone results

Documentation:

Reference manual: sampleone.html , sampleone.pdf
Vignettes: Catalogo de formulas: da apostila as funcoes do sampleone (source, R code)

Downloads:

Package source: sampleone_0.1.0.tar.gz
Windows binaries: r-devel: not available, r-release: sampleone_0.1.0.zip, r-oldrel: sampleone_0.1.0.zip
macOS binaries: r-release (arm64): sampleone_0.1.0.tgz, r-oldrel (arm64): sampleone_0.1.0.tgz, r-release (x86_64): sampleone_0.1.0.tgz, r-oldrel (x86_64): sampleone_0.1.0.tgz

Linking:

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

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.