View source: R/14.2.4-strategy-bootstrap.R
| bootstrap_p_values | R Documentation |
Estimates population p_value and consumption using bootstrap resampling of
final weights. Parallel execution is supported via the future /
furrr ecosystem when parallel = TRUE.
Each iteration delegates to bootstrap_single_iteration so that
the sequential and parallel code paths share a single implementation.
bootstrap_p_values(
processed_simulation_data,
n_bootstrap = 1000,
oxycal = 13560,
sample_size = NULL,
parallel = FALSE,
n_cores = NULL,
upper_p = 1,
verbose = FALSE,
store_predicted_weights = TRUE
)
processed_simulation_data |
Complete processed simulation data (must
contain |
n_bootstrap |
Number of bootstrap iterations, default 1000 |
oxycal |
Oxycalorific coefficient (J/g O2), default 13560 |
sample_size |
Sample size per iteration; |
parallel |
Logical; use parallel processing? default |
n_cores |
Number of cores for parallel processing ( |
verbose |
Logical; show progress messages? default |
store_predicted_weights |
Logical; store predicted final weights?
default |
Named list with:
Valid p_value estimates (NAs removed)
Valid consumption estimates
Valid predicted weights, or NULL
Diagnostics
Execution metadata
bootstrap_single_iteration, fit_fb4_bootstrap
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.