Changelog
Source:NEWS.md
simhelpers 0.3.0
- Added functions for calculating bootstrap p-values and confidence intervals and for estimating rejection rates, coverage rates, and interval widths by extrapolating across bootstrap subsamples.
- Added
repeat_and_stack()
function, which is similar to the base Rreplicate()
and to the now deprecatedpurrr::rerun()
, with the option to stack the output into a singledata.frame
. - Added
"stddev"
as a performance criterion incalc_absolute()
. - Added
winsorize
options incalc_absolute()
,calc_relative()
,calc_relative_var()
, andcalc_coverage()
.
simhelpers 0.2.0
CRAN release: 2024-02-23
- Added new, experimental function
bundle_sim()
to compose a set of functions into a simulation driver. - Added an argument to
evaluate_by_row()
to control the name of the variable where simulation results are stored. - Revised the
calc_*()
functions so that they can take vectors or variable names from a specified dataset. -
calc_rejection()
can now compute rejection rates for multiplealpha
levels. - Renamed the
K
variable computed in thecalc_*()
functions to avoid over-writing variables when using multiple performance calculations inside ofdplyr::summarize()
. - Updated syntax in vignettes and examples to use current tidyverse conventions.