Learn R Programming

Arothron (version 2.0.5)

PCscoresCorr: PCscoresCorr Perform a correlation test between two matrices of PCscores

Description

PCscoresCorr Perform a correlation test between two matrices of PCscores

Usage

PCscoresCorr(matrix1, matrix2, nPCs = 1:5)

Value

corr the correlation values associated to each pair of PC scores

p.values p-values associated to the correlation test

Arguments

matrix1

matrix: first set of PC scores

matrix2

matrix: second set of PC scores

nPCs

numeric vector: specify which PC scores will be selected in the correlation test

Author

Antonio Profico, Costantino Buzi, Marina Melchionna, Paolo Piras, Pasquale Raia, Alessio Veneziano