param_estimates_compare | R Documentation |
Summarizes each parameter estimate, showing you the quantiles passed to
probs
, and optionally the estimates of .orig_mod
.
param_estimates_compare(
.boot_sum,
.orig_mod = NULL,
.compare_cols = starts_with(c("THETA", "SIGMA", "OMEGA")),
probs = c(0.5, 0.025, 0.975),
na.rm = FALSE
)
## S3 method for class 'bbi_nmboot_summary'
param_estimates_compare(
.boot_sum,
.orig_mod = NULL,
.compare_cols = NULL,
probs = c(0.5, 0.025, 0.975),
na.rm = FALSE
)
## Default S3 method:
param_estimates_compare(
.boot_sum,
.orig_mod = NULL,
.compare_cols = starts_with(c("THETA", "SIGMA", "OMEGA")),
probs = c(0.5, 0.025, 0.975),
na.rm = FALSE
)
.boot_sum |
Either a |
.orig_mod |
|
.compare_cols |
An expression that can be passed to |
probs |
Numeric vector with values between 0 and 1 to be passed through to
|
na.rm |
Logical scalar, passed through to |
A tibble containing quantiles for each parameter estimate, optionally
compared to the estimates from .orig_mod
.
summarize_bootstrap_run()
## Not run:
# Via a bootstrap run
boot_run <- read_model(file.path(MODEL_DIR, "1-boot"))
boot_sum <- summarize_bootstrap_run(boot_run)
param_estimates_compare(boot_sum)
# Via a custom table
orig_mod <- read_model(file.path(MODEL_DIR, "1"))
param_df <- param_estimates_batch(MODEL_DIR)
param_estimates_compare(param_df, .orig_mod = orig_mod)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.