Skip to content

R2BEAT

1.0.5

Multistage Sampling Allocation and Sample Selection

0packages depend
3.2Kdownloads / year
–test coverage
11/13flavors OK

Overview

About

Multivariate optimal allocation for different domains in one and two stages stratified sample design. 'R2BEAT' extends the Neyman (1934) – Tschuprow (1923) allocation method to the case of several variables, adopting a generalization of the Bethel’s proposal (1989). 'R2BEAT' develops this methodology but, moreover, it allows to determine the sample allocation in the multivariate and multi-domains case of estimates for two-stage stratified samples. It also allows to perform both Primary Stage Units and Secondary Stage Units selection. This package requires the availability of 'ReGenesees', that can be installed from https://github.com/DiegoZardetto/ReGenesees.

Changes in 1.0.5

Major changes

  • Added the function ‘select_PSU2’ to be used in alternative a ‘select_PSU’ when there is a quasi uniform distribution of the measure of size of the PSUs (this is the case of Enumeration Areas, in contrast to Municipalities): this function ensures a complete alignment of the number of selected PSUs and of the SSUs to be selected to corrispondent numbers of allocated PSUs and SSUs
  • Added the function ‘build_dummy_variables’ to add dummy variables to the sampling frame (this is necessary if we want to differentiate precision constraints in the same domain level, for instance in the different regions)

From NEWS.md in the release

Install

Health

CRAN checks
2NOTE11OK
Check messages
NOTECRAN incoming feasibilityr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Maintainer: ‘Andrea Fasulo <fasulo@istat.it>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = c("Andrea", "Fasulo,Giulio", "Barcaroli,Stefano", "Falorsi,Alessio", "Guandalini,Daniela", "Pagliuca,Marco", "Dionisio"),
                      family = "Terribili",
                      role = "aut"),
               person(given = "Andrea",
                      family = "Fasulo",
                      role = "cre",
                      email = "fasulo@istat.it"))
as necessary.

CRAN check page ↗

Slowest check: 1.3 min · r-oldrel-windows-x86_64
Status changes
  • NOTE11 OK, 2 NOTENow
  • NOTE9 OK, 5 NOTE2026-03-10
Advisories

none known

Documentation

In release 1.0.5
README· In the repository, left out of the releaseVignettesNoNEWSYes · 100% structured · mentions 1.0.5Citation fileNoWebsiteYes · pkgdown
Help pages
25
Examples that run
8%2 run in a plain check · 22 never run
Exported functions with examples
94%
Documented parameters
100%
Return-value docs
82%
Help pages citing references
16%

Downloads

3.2K
CRAN downloads in the past year
Rank #14,756 · ~9/day · ~265/mo
Daily download trend is not available in this view yet.
31230 days
79190 days
3.2K1 year
Compare downloads with other packages →
Also on83 r2u9 autocran100 c2d4u

Repository

2Stars
1Forks
0Open issues
1Open PRs
0Releases
500Commits
1Commit identities
500 commits · Last activity 2026-06-09 · Default branch at 1.0.6, ahead of CRAN 1.0.5 (checked 2026-10-11)
Responsiveness
not measured

Stars over time

2024-12-01 · 22026-07-07 · 2
PracticesBeta

6 development-tooling and community-health practices detected across 3 families in the upstream repository

Checks run against github.com/barcaroli/r2beat on 2026-10-11.

Continuous integration (1)
GitHub Actions
Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2026-06-09 · The repository has a site deploy workflow

pkgdown site last built 2026-06-09

Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
5 external dependencies (excludes base and recommended)

Installing R2BEAT adds 6 packages (3 with compiled code, 1.6 MB of source tarballs). Heaviest: sampling 561 KB, lpSolve 457 KB, iterators 293 KB.

Depends (7)
R >= 3.5.0samplinggluemethodsparallelforeachdoParallel
Imports (0)
none
LinkingTo (0)
none
Suggests (1)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (from the free-text Author field) (6)

Maintainer since 1.0.0 (2019)

Listed in earlier versions (1)
Raffaella Cianchetta
no longer listed · 1.0.2 to 1.0.3
Releases (7)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 1.0.5Latest
    record
    2023-05-25 · current release · diff ↗ ·
    added 3 exports
    select_PSU2, build_dummy_variables, sens_names
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • 1.0.4
    record
    2021-12-02 · diff ↗ ·
    removed 1 export
    pattern:^[[:alpha:]]+
    added 14 exports
    beat.1st, beat.2st, beat.cv, check_input, eval_2stage, plot_sens, prepareInputToAllocation1, prepareInputToAllocation2, select_PSU, select_SSU, sensitivity_min_SSU, sensitivity_min_SSU2, input_to_beat.2st_1, input_to_beat.2st_2
  • 1.0.3
    record
    2021-06-24 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 1.0.2-1
    record
    2021-04-20 · diff ↗
  • 1.0.2
    record
    2021-01-11 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • 1.0.1
    record
    2020-01-13 · diff ↗
  • 1.0.0
    record
    2019-07-18
  • R
    R 3.6.0 released · 2019-04-26

Package metadata

First published
2019-07-18
Total releases
7 / 7 yrs
License
EUPL
Minimum R
≥ 3.5.0
Bundled data
8.6 KB / 1 file
Download size
1.3 MB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("R2BEAT")

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for R2BEAT version 1.0.5 [Data set]. HJJB, LLC. Data release v2026-10-17. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-17, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy