Closed aalfons closed 4 years ago
Maybe this shouldn't go on CRAN as for practical use it's nicer to draw upon functionality in package boot
. But it should get a specific version number and a tag such that simulation results from the paper can easily be reproduced by installing this version via install_github()
.
There is now a wrapper function that implements a simple nonparametric bootstrap if indices of bootstrap samples are supplied, and otherwise calls function boot()
from package boot
.
Merge branch 'boot' into 'tidyverse'. The former contains a custom bootstrap function to supply the indices of the bootstrap samples to
test_mediation()
. This allows for a more fair comparison of different bootstrap tests in simulation studies.