Type: Package
Package: optimall
Title: Allocate Samples Among Strata
Version: 1.4.0
Authors@R: c(
	person(given = "Jasper",
               family = "Yang",
               role = c("aut", "cre"),
               email = "jbyang@uw.edu"),
	person(given = "Pamela",
      	       family = "Shaw",
	       role = "aut"),
	person(given = "Bryan",
	       family = "Shepherd",
	       role = "ctb"),
	person(given = "Thomas",
	       family = "Lumley",
	       role = "ctb"),
	person(given = "Gustavo",
	       family = "Amorim",
	       role = "rev"))
Maintainer: Jasper Yang <jbyang@uw.edu>
Description: Functions for the design process of survey sampling, with specific tools for multi-wave and multi-phase designs. Perform optimum allocation using Neyman (1934) <doi:10.2307/2342192> or Wright (2012) <doi:10.1080/00031305.2012.733679> allocation, split strata based on quantiles or values of known variables, randomly select samples from strata, allocate sampling waves iteratively, and organize a complex survey design. Also includes a Shiny application for observing the effects of different strata splits. A paper on this package was published in the Journal of Statistical Software <doi:10.18637/jss.v114.i10>.
License: GPL-3
URL: https://github.com/yangjasp/optimall
BugReports: https://github.com/yangjasp/optimall/issues
Depends: R (>= 3.5.0)
Imports: dplyr (>= 1.0.5), glue (>= 1.4.0), magrittr (>= 2.0.0),
        methods (>= 4.0.0), rlang (>= 0.2.2), stats (>= 4.0.2), tibble
        (>= 1.4.2), utils (>= 3.5.0),
Suggests: bslib (>= 0.2.4), DiagrammeR (>= 1.0.0), DT (>= 0.15),
        datasets, globals (>= 0.12), knitr (>= 1.28), MASS (>= 7.1),
        rmarkdown (>= 2.7), shiny (>= 1.6.0), shinytest (>= 1.4.0),
        survey (>= 4.0), tidyr (>= 1.3), testthat (>= 3.0.2), webshot
        (>= 0.5)
VignetteBuilder: knitr
Encoding: UTF-8
LazyData: true
RoxygenNote: 7.3.1
Collate: 'allocate_wave.R' 'sample_strata.R' 'wave.R' 'phase.R'
        'multiwave.R' 'merge_samples.R' 'optimum_allocation.R'
        'set_mw.R' 'get_mw.R' 'apply_multiwave.R' 'matwgt_sim.R'
        'merge_strata.R' 'multiwave_diagram.R' 'optimall_shiny.R'
        'split_strata.R' 'summary.multiwave.R'
NeedsCompilation: no
Packaged: 2026-04-03 22:15:43 UTC; jasper
Author: Jasper Yang [aut, cre],
  Pamela Shaw [aut],
  Bryan Shepherd [ctb],
  Thomas Lumley [ctb],
  Gustavo Amorim [rev]
Repository: CRAN
Date/Publication: 2026-04-03 22:30:02 UTC
Built: R 4.5.3; ; 2026-05-23 19:14:15 UTC; windows
