Skip to content

regtomean

1.2.1

Regression Toward the Mean

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

Overview

About
Maintained by Daniela RecchiaFirst published 2021-01-294 releasesCRAN page ↗

In repeated measures studies with extreme large or small values it is common that the subjects measurements on average are closer to the mean of the basic population. Interpreting possible changes in the mean in such situations can lead to biased results since the values were not randomly selected, they come from truncated sampling. This method allows to estimate the range of means where treatment effects are likely to occur when regression toward the mean is present. Ostermann, T., Willich, Stefan N. & Luedtke, Rainer. (2008). Regression toward the mean - a detection method for unknown population mean based on Mee and Chua's algorithm. BMC Medical Research Methodology.<doi:10.1186/1471-2288-8-52>. Acknowledgments: We would like to acknowledge "Lena Roth" and "Nico Steckhan" for the package's initial updates (Q3 2024) and continued supervision and guidance. Both have contributed to discussing and integrating these methods into the package, ensuring they are up-to-date and contextually relevant.

Install

Health

CRAN checks
13OK
Code health
Yes
Tests · ratio 0.14
not tracked
Coverage
100%
Documentation · exports
None
Vignettes
Yes
README
6
Dependencies · direct
Check history
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Downloads

2.6K
CRAN downloads in the past year
Rank #17,865 · ~7/day · ~216/mo
regtomean
Daily download trend is not available in this view yet.
Compare downloads with other packages →
28630 days
65390 days
2.6K1 year
Also on102 r2u12 autocran
Source & community

Repository stars, issues, and contributor activity are not tracked yet.

Dependencies

Declared dependencies
6 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.4.0
LinkingTo (0)
none
Suggests (1)
Enhances (0)
none
Reverse dependencies
0direct
indirect (not tracked)

Nothing depends on this yet.

Code

767Lines of code
7Exported functions

Line coverage

Expression

Tests / Examples

Functions

7 7 exported

Complexity

4.9 avg / 8 max

Call network

7 nodes / 0 edges

Test coverage has not been measured for this package yet; nodes fall back to a neutral fill.

Loading call graph…

Lowest coverage

Per-function coverage is not measured for this package yet.

People & History

People (3)
Maintainer (1)
Author, Maintainer
Contributors (2)
Contributor
Contributor
Release timeline

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

  • R
    R 4.6.0 released · 2026-04-24
  • 1.2.1Latest
    2025-07-15 · current release
  • R
    R 4.5.0 released · 2025-04-11
  • 1.2
    2024-12-17 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 1.1
    2022-10-26 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • 1.0
    2021-01-29

Package metadata

First published
2021-01-29
Total releases
4 / 5 yrs
License
MIT + file LICENSE OSI
Download size
not tracked yet
Installed size
not tracked yet
With dependencies
not tracked yet