Skip to content

presize

0.3.11

Precision Based Sample Size Calculation

0packages depend
7.9Kdownloads / year
93.0%test coverage
13/13checks pass

Overview

About
Maintained by Alan G. HaynesFirst published 2020-09-027 releasesCRAN page ↗GitHub ↗

Bland (2009) doi:10.1136/bmj.b3985 recommended to base study sizes on the width of the confidence interval rather the power of a statistical test. The goal of 'presize' is to provide functions for such precision based sample size calculations. For a given sample size, the functions will return the precision (width of the confidence interval), and vice versa.

Install

Health

CRAN checks
13OK
Slowest check: 1.3 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.50
93.0%
Coverage · measured lines
100%
Documentation · exports
2
Dependencies · direct
Check history
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-08
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
98%
Return-value docs
76%
References docs
67%

Downloads

7.9K
CRAN downloads in the past year
Rank #4,317 · ~22/day · ~659/mo
Daily download trend is not available in this view yet.
46130 days
2.1K90 days
7.9K1 year
Compare downloads with other packages →
Also on129 r2u28 autocran28 c2d4u

Repository

Repository
21Stars
15Forks
3Open issues
0Open PRs
4Releases
706Commits
15Contributors
sample-size-calculationprecisionconfidence-intervalsshiny-app
License GPL-3.0 · 706 commits · Last activity 2026-05-26 · 0% stars, 30d

Stars over time

2025-07-07 · 182026-07-07 · 21

Repository practices

Upstream repositoryBeta

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

Checks run against github.com/dcr-unibe-ch/presize on 2026-07-26.

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 (1)
Issue templates
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
15 external dependencies (excludes base and recommended)
Depends (0)
none
Imports (2)
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

People & History

People (5)
Maintainer (1)
Maintainer, Author
Authors (3)
Maintainer, Author
Contributors (2)
Contributor · added in 0.3.7
Contributor
Package Timeline

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

  • R
    R 4.6.0 released · 2026-04-24
  • 0.3.11Latest
    2026-03-11 · current release · diff ↗
  • 0.3.9
    2025-11-18 · diff ↗
  • 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
  • 0.3.7
    2023-02-27 · diff ↗
  • 0.3.3
    2022-08-29 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 0.3.1
    2022-03-03 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 0.2.3
    2021-04-08 · diff ↗
  • 0.1.3
    2020-09-02
  • R
    R 4.0.0 released · 2020-04-24

Package metadata

First published
2020-09-02
Total releases
7 / 6 yrs
License
GPL-3 OSI
Download size
358 KB
Installed size
not tracked yet
With dependencies
not tracked yet
Report a problem with this page →