View source: R/jsd_discrete_ci.R
| jsd_discrete_ci | R Documentation |
Bootstrap confidence interval for discrete JSD
jsd_discrete_ci(
x,
y,
B = 1000,
conf_level = 0.95,
support = NULL,
base = 2,
eps = 1e-12,
add_smoothing = FALSE,
seed = NULL,
na_rm = TRUE,
na_rm_failed = TRUE
)
x |
Vector for group 1. |
y |
Vector for group 2. |
B |
Number of bootstrap replicates. |
conf_level |
Confidence level. Defaults to 0.95. |
support |
Optional support values. |
base |
Logarithm base. Defaults to 2. Use 'exp(1)' for nats. |
eps |
Small constant for numerical stability. |
add_smoothing |
Logical; add 1 to each cell count? |
seed |
Optional random seed. |
na_rm |
Logical; remove missing values? |
na_rm_failed |
Logical; drop failed bootstrap draws when summarizing? |
An object of class '"jsd_ci"'.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.