You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
New functions
A new function, gs_cp_npe(), is now available for calculating simple conditional power under NPH.
A vignette has been published on the pkgdown website (#510, #539, #545, thanks to @LittleBeannie).
A new design summary function gs_bound_summary() is available with similar output structure as gsDesign::gsBoundSummary() and
supporting for multiple alpha (#468, #522, #537, thanks to @jdblischak).
Textual summary of AHR designs are available via the text_summary() (#526, thanks to @LittleBeannie).
User interface improvements
The integer event is rounded in IAs and rounded up in FA as defaults in to_integer() (#483, thanks to @LittleBeannie).
The integer sample size is rounded to the nearest multiple of randomization ratio + 1 when round_up_final = TRUE
(#488, thanks to @LittleBeannie)..
The updated design can be derived with the input of events per analysis per interval (#499, thanks to @LittleBeannie).
Bound functions and spending functions can be provided through their names (character strings) now,
e.g., gs_design_ahr(..., upper = "gs_spending_bound", upar = list(sf = "sfLDOF", ...)) (#509, thanks to @yihui).
The footnote argument of as_gt() can take the value FALSE to disable footnotes (#514, thanks to @yihui).
Optimized the functions expected_accural(), expected_time(), gs_design_ahr(), gs_design_combo(), gs_design_npe(), gs_design_wlr(), pw_info(), ppwe(), s2pe(), and gs_bound() (#528, thanks to @yihui).
Weights of a WLR design functions can be provided as string now (#533, thanks to @LittleBeannie).
Bug fixes
Correct the statistical information of WLR-integer designs in to_integer() (#478, thanks to @LittleBeannie).
Correct the calculation info_frac in gs_design_wlr() when info_scale = "h0_info" (#485, #486, thanks to @LittleBeannie).
Add the h1_spending argument to gs_power_ahr() (#518, thanks to @LittleBeannie)
Testing
Add the developer tests of gs_cp_npe() (#519, thanks to @shiyuskaya)