Permutation p-value for many correlation coefficients | R Documentation |
Permutation p-value for many correlation coefficients.
permcorrels(y, x, B = 999)
y |
A numerical vector. |
x |
A numerical matrix with many columns. |
B |
The number of bootstrap samples to generate. |
This is the same function as correls
, only this time the p-values are produced via permutations and no confidence intervals are produced.
A matrix with 2 columns, the correlations and their permutation based p-values.
Michail Tsagris
R implementation and documentation: Michail Tsagris mtsagris@uoc.gr.
permcor, correls
y <- rnorm(40)
x <- matrix(rnorm(40 * 1000), ncol = 1000)
a <- permcorrels(y, x )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.