Skip to content

gsDesign2 1.1.4

Compare
Choose a tag to compare
@LittleBeannie LittleBeannie released this 06 Jun 20:29
· 6 commits to main since this release
bf27245

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