Package: gsDesignNB
Version: 0.2.6
Title: Sample Size and Simulation for Negative Binomial Outcomes
Authors@R: c(
    person("Keaven", "Anderson", email = "keaven_anderson@merck.com", role = c("aut", "cre")),
    person("Nan", "Xiao", role = "ctb"),
    person("Hongtao", "Zhang", role = "ctb"),
    person("Merck & Co., Inc., Rahway, NJ, USA and its affiliates", role = "cph",
           comment = c(ROR = "02891sr49"))
    )
Description: 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>. Supports group
    sequential designs by adding calendar-time analysis schedules compatible
    with the 'gsDesign' package and by estimating blinded information at
    interim looks. Includes simulation utilities for recurrent events
    (including seasonal rates), interim data truncation, and Wald-based
    inference for treatment rate ratios.
License: GPL (>= 3)
URL: https://keaven.github.io/gsDesignNB/,
        https://github.com/keaven/gsDesignNB
BugReports: https://github.com/keaven/gsDesignNB/issues
Encoding: UTF-8
Depends: R (>= 3.5.0)
Imports: data.table, gsDesign, simtrial, stats, MASS
Suggests: testthat (>= 3.0.0), knitr, rmarkdown, ggplot2, dplyr, gt,
        scales
VignetteBuilder: knitr
Config/testthat/edition: 3
RoxygenNote: 7.3.3
NeedsCompilation: no
Packaged: 2026-02-12 01:18:28 UTC; Anderkea
Author: Keaven Anderson [aut, cre],
  Nan Xiao [ctb],
  Hongtao Zhang [ctb],
  Merck & Co., Inc., Rahway, NJ, USA and its affiliates [cph] (ROR:
    <https://ror.org/02891sr49>)
Maintainer: Keaven Anderson <keaven_anderson@merck.com>
Repository: CRAN
Date/Publication: 2026-02-16 17:40:09 UTC
Built: R 4.4.3; ; 2026-03-06 04:44:10 UTC; windows
