Releases: keaven/gsDesign
Releases · keaven/gsDesign
gsDesign 3.6.5
Improvements
-
toInteger()
(introduced in gsDesign 3.5.0) is updated to match broader, non-gsDesign conventions for deriving integer sample size and event counts (@keaven, #172).This update may result in different outputs compared to previous versions. Users who use this function should review the updated function documentation (
?toInteger
) andvignette("toInteger")
for details.
Testing
Documentation
- Add the
cph
role to theAuthors@R
field following best practices (@nanxstats, #166).
gsDesign 3.6.4
Improvements
We have made the spending function summary output more readable and informative.
- Text summaries for spending functions with multiple parameters are now properly formatted. For instance,
a b = 0.5 1.5
is now displayed asa = 0.5, b = 1.5
(@jdblischak, #162). - The
summary()
method forsfLDOF()
no longer includes the redundantnone = 1
in its output (@jdblischak, #159).
Documentation
- Added a note about using a positive scalar for
sfupar
insfLDOF()
to create a generalized O'Brien-Fleming spending function (@keaven, 52cc711, 99996b). - Improved math rendering in our pkgdown site vignettes by switching to KaTeX, which is now supported in pkgdown 2.1.0 (@nanxstats, #161).
- Standardized vignette titles and headings by using h2 as the base level and adopting sentence case throughout (@nanxstats, #158).
gsDesign 3.6.3
New features
- Implemented conditional error spending functions
sfXG1()
,sfXG2()
, andsfXG3()
based on Xi and Gallo (2019). Seevignette("ConditionalErrorSpending")
for details and reproduced examples from the literature (@keaven, #147. Thanks, @xidongdxi, for comments on vignette).
Improvements
Testing
- Added independent testing for
gsSurvCalendar()
(@myeongjong, #144). - Expanded test coverage for
gsBinomialExact()
(@menglu2, #143).
gsDesign 3.6.2
Documentation
- Add new vignette on conditional power and conditional error, see
vignette("ConditionalPowerPlot")
(beb2957, 727fe20, 57394fe). - Fix roxygen2 warning and use magrittr pipes in vignette for consistency (#131).
Testing
- Move independently programmed functions for validation as standard test helper files (#130).
gsDesign 3.6.1
New features
gsBoundSummary()
now has theas_rtf()
method implemented to generate RTF outputs for bound summary tables (@wangben718, #107).plotgsPower()
gets new argumentsoffset
andtitleAnalysisLegend
to enable more flexible and accurate power plots (plottype = 2
) (@jdblischak, #121, #123).
Improvements
- The plotting functions now use
dplyr::reframe()
to replacedplyr::summarize()
when performing groupedcumsum()
(@jdblischak, #114). - The plotting functions are updated to use the
.data
pronoun from rlang withggplot2::aes()
. This simplifies the code and follows the recommended practice when using ggplot2 in packages (@jdblischak, #124). hGraph()
now uses namedguide
argument in thescale_fill_manual()
call to be compatible with ggplot2 3.5.0 (@teunbrand, #115). Note: this function has been deprecated and moved to gMCPLite since gsDesign 3.4.0. It will be removed from gsDesign in a future version. Please usegMCPLite::hGraph()
instead.
Documentation
gsDesign 3.6.0
Breaking changes
gsSurv()
andnSurv()
have updated default values forT
andminfup
so that function calls with no arguments will run. Legacy code withT
orminfup
not explicitly specified could break (#105).
New features
gsSurvCalendar()
function added to enable group sequential design for time-to-event outcomes using calendar timing of interim analysis specification (#105).as_rtf()
method forgsBinomialExact()
objects added, enables RTF table outputs for standard word processing software (#102).
Improvements
toBinomialExact()
andgsBinomialExact()
: fix error checking in bound computations, improve documentation and error messages (#105).print.gsSurv()
: Improve the display of targeted events (very minor). The boundary crossing probability computations did not change. The need is made evident by the addition of thetoInteger()
function (#105).toInteger()
: Fix the documentation and execution based on theratio
argument (#105).- Update the vaccine efficacy, Poisson mixture model, and toInteger vignettes (#105).
- Standardize and improve roxygen2 documentation (#104).
gsDesign 3.5.0
sfPower()
now allows a wider parameter range (0, 15].toInteger()
function added to convertgsDesign
orgsSurv
classes to integer sample size and event counts.toBinomialExact()
function added to convert time-to-event bounds to exact binomial for low event rate studies.- Added "A Gentle Introduction to Group Sequential Design" vignette for an introduction to asymptotics for group sequential design.
as_table()
andas_gt()
methods forgsBinomialExact
objects added, as described in the new "Binomial SPRT" vignette.- In
plot.ssrCP()
, thehat
syntax in the mathematical expression is revised, resolving labeling issues. ggplot2::qplot()
usage replaced due to its deprecation in ggplot2 3.4.0.- Link update for the gsDesign manual in the documentation, now directly pointing to the gsDesign technical manual bookdown project.
- Introduced a new hex sticker logo.
gsDesign 3.4.0
gsDesign 3.3.0
- Addition of vignettes
- Demonstrate cure model and calendar-based analysis timing for time-to-event endpoint design
- Vaccine efficacy design using spending bounds and exact binomial boundary crossing probabilities
- Minor fix to labeling in print.gsProbability
- Fixed error in sfStep
- Updates to reduce R CMD check and other minor issues
v3.2.2
See NEWS and what's changed (below).
- Mainly a response to minor new R/CRAN issues.
- One minor functional update to nBinomial() when odds-ratio scale used (issue #30)
What's Changed
- Update gsBinomial.R by @elong0527 in #28
- Fixhgraphinputtests by @keaven in #38
- Updated hGraph input checks to simplify by @keaven in #39
- Use inherits() to replace is() by @nanxstats in #43
- Update moved URL and fix code block style by @nanxstats in #44
Full Changelog: v3.2.1...v3.2.2