Permutation p-value for many correlation coefficients {corrfuns}R Documentation

Permutation p-value for many correlation coefficients

Description

Permutation p-value for many correlation coefficients.

Usage

permcorrels(y, x, B = 999)

Arguments

y

A numerical vector.

x

A numerical matrix with many columns.

B

The number of bootstrap samples to generate.

Details

This is the same function as correls, only this time the p-values are produced via permutations and no confidence intervals are produced.

Value

A matrix with 2 columns, the correlations and their permutation based p-values.

Author(s)

Michail Tsagris

R implementation and documentation: Michail Tsagris mtsagris@uoc.gr.

See Also

permcor, correls

Examples

y <- rnorm(40)
x <- matrix(rnorm(40 * 1000), ncol = 1000)
a <- permcorrels(y, x )

[Package corrfuns version 1.0 Index]