Generates Geometric mean and confidence intervals using bootstrap.
gm_mean_ci(
window,
conf = 0.95,
na.rm = TRUE,
type = "basic",
R = 1000,
parallel = "no",
ncpus = getOption("boot.ncpus", 1L),
cl = NULL,
zero.propagate = FALSE
)
vector of data values
confidence level of the required interval. NA
if skipping
calculating the bootstrapped CI
logical TRUE/FALSE
. Remove NAs from the dataset. Defaults
TRUE
character string, one of c("norm","basic", "stud", "perc",
"bca")
. "all"
is not a valid value. See boot.ci
the number of bootstrap replicates. see boot
The type of parallel operation to be used (if any). see
boot
integer: number of process to be used in parallel operation. see
boot
optional parallel or snow cluster for use if parallel =
"snow"
. see boot
logical TRUE/FALSE
Allows the optional propagation of
zeros.
named list with geometric mean and (optionally) specified confidence interval