Skip to content

gsDesignNB

0.3.2

Sample Size and Simulation for Negative Binomial Outcomes

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

Overview

About
Maintained by Keaven AndersonFirst published 2026-02-162 releasesCRAN page ↗GitHub ↗

Provides tools for planning and simulating recurrent event trials with overdispersed count endpoints analyzed using negative binomial (or Poisson) rate models. Implements sample size and power calculations for fixed designs with variable accrual, dropout, maximum follow-up, and event gaps, including methods of Zhu and Lakkis (2014) doi:10.1002/sim.5947 and Friede and Schmidli (2010) doi:10.3414/ME09-02-0060 as well as extensions for score-test sizing and gaps between events. Supports group sequential monitoring by building on the 'gsDesign' package. Includes recurrent-event simulation utilities (including seasonal rates), interim data truncation, Wald and score-test inference for rate ratios, and information estimation and sample size re-estimation with or without treatment-group labels.

Install

Health

CRAN checks
13OK
Slowest check: 19.4 min · r-devel-linux-x86_64-fedora-clang
Code health
Yes
Tests · ratio 0.57
not tracked
Coverage
100%
Documentation · exports
5
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
READMEYes · 157 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
82%
Documented parameters
98%
Return-value docs
97%
References docs
14%

Downloads

1.4K
CRAN downloads in the past year
Rank #14,328 · ~4/day · ~113/mo
Daily download trend is not available in this view yet.
36030 days
74890 days
1.4K1 year
Compare downloads with other packages →
Also on37 r2u3 autocran

Repository

Repository
1Stars
1Forks
4Open issues
0Open PRs
5Releases
291Commits
4Contributors
License GPL-3.0 · 291 commits · Last activity 2026-07-11 · 0% stars, 30d

Stars over time

2025-11-26 · 12026-07-07 · 1

Repository practices

Upstream repositoryBeta

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

Checks run against github.com/keaven/gsdesignnb on 2026-07-19.

Continuous integration (1)
GitHub Actions
Reproducibility and dev environment (1)
data-raw/
CRAN release process (1)
cran-comments.md
Lint, format, editor (1)
RStudio project
Show all practices
Coverage (1)
Codecov
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
18 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.1.0
Imports (5)
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

People & History

People (5)
Maintainer (1)
Author, Maintainer
Authors (3)
Author, Maintainer
Author · added in 0.3.2
Contributors (1)
Contributor
Copyright holders (1)
Package Timeline

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

  • 0.3.2Latest
    2026-07-07 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 0.2.6
    2026-03-10
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2026-02-16
Total releases
2 / 1 yrs
License
GPL (>= 3) OSI
Minimum R
≥ 4.1.0
Download size
2.5 MB
Installed size
not tracked yet
With dependencies
not tracked yet
Report a problem with this page →