boot_f_cor | R Documentation |
Generate R bootstrap replicates of a statistic applied to data.
boot_f_cor(data, indices, cor.type)
data |
A vector, matrix, or data frame containing the input data. If a matrix or data frame is provided, each row is treated as a separate multivariate observation. |
indices |
A numeric or integer vector specifying the indices to be utilized in the calculation. These indices determine which elements or rows of the 'data' are to be included in the analysis |
cor.type |
A string specifying the method of correlation to be applied in the bootstrap procedure. Available options are "pearson" (default), "kendall", or "spearman". |
A matrix with bootstrapped estimates of 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.