Description Usage Arguments Value See Also Examples
Calculates the bias-corrected and accelerated (BCa) bootstrap confidence interval for correlation coefficients.
1 2 3 4 5 6 7 8 9 10 11 |
x |
a numeric matrix or data frame. |
y |
NULL (default) or a matrix or data frame with compatible dimensions to x. The default is equivalent to y = x (but more efficient). |
use |
an optional character string giving a method for handling missing
values. This must be (an abbreviation of) one of the strings "everything",
"all.obs", "complete.obs", or "pairwise.complete.obs"
(default). See |
method |
a character string indicating which correlation coefficient is to be computed. One of "pearson" (default), "kendall", or "spearman": can be abbreviated. |
n_rep |
The number of bootstrap replicates. |
conf |
A scalar or vector containing the confidence level(s) of the required interval(s). 95% intervals used by default. |
seed |
Integer used to seed the random number generator. |
n_cores |
Integer indicating number of processes to use in parallel processing. Set to 1 fewer than the number of available CPUs by default. |
Object of class "cor_boot", a cor_list
object with the
following additional vectors:
lower endpoint of the confidence interval
upper endpoint of the confidence interval
and the attribute "CI"
indicating the size of the confidence interval being
returned.
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.