boot_f_pcor | R Documentation |
Generate R bootstrap replicates of a statistic applied to data.
boot_f_pcor(data, indices, cor.type)
data |
The data as a vector, matrix or data frame. If it is a matrix or data frame then each row is considered as one multivariate observation. |
indices |
indices to be used for calculation |
cor.type |
a character string indicating which correlation |
fun |
a function to use in bootstrap procedure coefficient is to be computed. One of "pearson" (default), "kendall", or "spearman". |
A matrix with bootstrapped estimates of partial correlation coefficients
https://www.datacamp.com/community/tutorials/bootstrap-r
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.