Skip to content

rr

1.4.2

Statistical Methods for the Randomized Response Technique

0packages depend
2.6Kdownloads / year
66.8%test coverage
13/13checks pass

Overview

About
Maintained by Graeme BlairFirst published 2015-02-088 releasesCRAN page ↗

Enables researchers to conduct multivariate statistical analyses of survey data with randomized response technique items from several designs, including mirrored question, forced question, and unrelated question. This includes regression with the randomized response as the outcome and logistic regression with the randomized response item as a predictor. In addition, tools for conducting power analysis for designing randomized response items are included. The package implements methods described in Blair, Imai, and Zhou (2015) ''Design and Analysis of the Randomized Response Technique,'' Journal of the American Statistical Association https://graemeblair.com/papers/randresp.pdf.

Install

Health

CRAN checks
13OK
Slowest check: 4.0 min · r-devel-windows-x86_64
Code health
Yes
Tests · ratio 0.33
66.8%
Coverage · measured lines
100%
Documentation · exports
5
Dependencies · direct
Check history
  • OK2026-08-04
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesNopkgdown siteNoNEWSNoCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
92%
Return-value docs
100%
References docs
100%

Downloads

2.6K
CRAN downloads in the past year
Rank #17,295 · ~7/day · ~218/mo
Daily download trend is not available in this view yet.
14630 days
64190 days
2.6K1 year
Compare downloads with other packages →
Also on363 r2u19 autocran

Dependencies

Declared dependencies
4 external dependencies (excludes base and recommended)
Depends (2)
R >= 3.0.0utils
Imports (4)
LinkingTo (0)
none
Suggests (1)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Datasets

People & History

People (4)
Maintainer (1)
Author, Maintainer
Authors (3)
Author, Maintainer
Contributors (1)
Contributor · added in 1.4
Package Timeline

8 releases. Pick two to compare their code metrics. R releases are shown for context.

  • 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.4.2Latest
    2024-01-16 · current release · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 1.4.1
    2022-05-24 · diff ↗
  • unarchivedReturned to CRAN
    2022-05-24
  • archivedRemoved from CRAN
    2022-05-07
    installation issues were not corrected in time
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • R
    R 3.5.0 released · 2018-04-23
  • R
    R 3.4.0 released · 2017-04-21
  • 1.4
    2016-08-17 · diff ↗
  • 1.3.1
    2016-05-15 · diff ↗
Show 8 earlier events
  • R
    R 3.3.0 released · 2016-05-03
  • archivedRemoved from CRAN
    2016-05-02
    check problems were not corrected despite reminders
  • R
    R 3.2.0 released · 2015-04-16
  • 1.3
    2015-03-26 · diff ↗
  • 1.2
    2015-03-21 · diff ↗
  • 1.1
    2015-02-19 · diff ↗
  • 1.0
    2015-02-08
  • R
    R 3.1.0 released · 2014-04-10

Package metadata

First published
2015-02-08
Total releases
8 / 11 yrs
License
GPL (>= 3) OSI
Minimum R
≥ 3.0.0
Bundled data
25 KB / 1 file
Download size
73 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("rr")
Blair, G., Chou, W., Imai, K., & Zhou, Y. (2024). rr: Statistical Methods for the Randomized Response Technique (Version 1.4.2) [Computer software]. https://doi.org/10.32614/CRAN.package.rr

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

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 rr version 1.4.2 [Data set]. HJJB, LLC. Data release v2026-08-25. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-25, 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