Package: SamplingStrata
Type: Package
Title: Optimal Stratification of Sampling Frames for Multipurpose
        Sampling Surveys
Version: 1.6
Date: 2026-11-19
Authors@R: c(person("Giulio", "Barcaroli", role = c("aut", "cre"),
                     email = "gbarcaroli@gmail.com"),
              person("Marco", "Ballin", role = "aut",
                     email = "marco.ballin@istat.it"),
              person("Hanjo", "Odendaal", role = "aut",
                     email = "hanjo.oden@gmail.com"),
              person("Daniela", "Pagliuca", role = "aut"), 
              person("Egon", "Willighagen", role = "aut"),
              person("Diego", "Zardetto", role = "aut")
              )
Maintainer: Giulio Barcaroli <gbarcaroli@gmail.com>
Description: In the field of stratified sampling design, this package offers an approach for the determination of the best stratification of a sampling frame, the one that ensures the minimum sample cost under the condition to satisfy precision constraints in a multivariate and multidomain case. This approach is based on the use of the genetic algorithm: each solution (i.e. a particular partition in strata of the sampling frame) is considered as an individual in a population; the fitness of all individuals is evaluated applying the Bethel-Chromy algorithm to calculate the sampling size satisfying precision constraints on the target estimates. Functions in the package allows to: (a) analyse the obtained results of the optimisation step; (b) assign the new strata labels to the sampling frame; (c) select a sample from the new frame accordingly to the best allocation. Functions for the execution of the genetic algorithm are a modified version of the functions in the 'genalg' package.  
License: GPL (>= 2)
Encoding: UTF-8
LazyLoad: yes
Depends: R (>= 3.5.0), memoise, doParallel, pbapply, SamplingBigData,
        glue, methods
NeedsCompilation: yes
Suggests: knitr, rmarkdown, bookdown, formattable, shiny,
        shinydashboard, shinyjs, DT, corrplot
VignetteBuilder: knitr
URL: https://barcaroli.github.io/SamplingStrata/,
        https://github.com/barcaroli/SamplingStrata/
BugReports: https://github.com/barcaroli/SamplingStrata/issues
RoxygenNote: 7.3.3
LinkingTo: Rcpp
Imports: Rcpp
Packaged: 2026-11-27 11:06:50 UTC; Giulio
Author: Giulio Barcaroli [aut, cre],
  Marco Ballin [aut],
  Hanjo Odendaal [aut],
  Daniela Pagliuca [aut],
  Egon Willighagen [aut],
  Diego Zardetto [aut]
Repository: CRAN
Date/Publication: 2026-11-27 11:30:08 UTC
Built: R 4.5.3; x86_64-w64-mingw32; 2026-11-28 00:52:13 UTC; windows
Archs: x64
