Skip to content

precisely

0.1.2

Estimate Sample Size Based on Precision Rather than Power

0packages depend
2.9Kdownloads / year
95.6%test coverage
13/13checks pass

Overview

About
Maintained by Malcolm BarrettFirst published 2020-06-023 releasesCRAN page ↗GitHub ↗

Estimate sample size based on precision rather than power. 'precisely' is a study planning tool to calculate sample size based on precision. Power calculations are focused on whether or not an estimate will be statistically significant; calculations of precision are based on the same principles as power calculation but turn the focus to the width of the confidence interval. 'precisely' is based on the work of 'Rothman and Greenland' (2018).

Install

Health

CRAN checks
13OK
Slowest check: 2.5 min · r-release-macos-x86_64
Code health
Yes
Tests · ratio 0.94
95.6%
Coverage · measured lines
95%
Documentation · exports
9
Dependencies · direct
Check history
  • OK2026-08-05
    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
READMEYes · 406 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
96%
Return-value docs
71%
References docs
38%

Downloads

2.9K
CRAN downloads in the past year
Rank #13,689 · ~8/day · ~242/mo
Daily download trend is not available in this view yet.
22430 days
76190 days
2.9K1 year
Compare downloads with other packages →
Also on140 r2u29 autocran

Repository

Repository
93Stars
5Forks
0Open issues
0Open PRs
3Releases
72Commits
2Contributors
72 commits · Last activity 2021-10-10

Stars over time

2025-05-08 · 922026-07-07 · 93

Repository practices

Upstream repositoryBeta

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

Checks run against github.com/malcolmbarrett/precisely on 2026-08-23.

Continuous integration (1)
GitHub Actions
Docs source (1)
README.Rmd
Lint, format, editor (1)
RStudio project
Coverage (1)
Codecov
Show all practices
Governance and community (2)
Issue templatesFunding
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
16 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.2.0
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

People & History

People (1)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Package Timeline

3 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
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • 0.1.2Latest
    2021-10-10 · current release · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 0.1.1
    2021-01-12 · diff ↗
  • 0.1.0
    2020-06-02
  • R
    R 4.0.0 released · 2020-04-24

Package metadata

First published
2020-06-02
Total releases
3 / 6 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 3.2.0
Download size
2.2 MB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("precisely")
Barrett, M. (2021). precisely: Estimate Sample Size Based on Precision Rather than Power (Version 0.1.2) [Computer software]. https://doi.org/10.32614/CRAN.package.precisely

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

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