standardCCA: Internal standard CCA function.

Description Usage Arguments Value

View source: R/KendallCCA.R

Description

This function is modified from original CCA function for two reasons: to deal with only positive eigenvalues larger than the tolerance when calculating the inverse of the matrices and to compuate Singular Value Decomposition using irlba algorithm. Inputs should be correlation or covariance matrices of each data set and between datasets. This function returns only the first pair of canonical covariates.

Usage

1
standardCCA(S1, S2, S12, tol = 1e-04)

Arguments

S1

correlation/covariance matrix of dataset X1.

S2

correlation/covariance matrix of dataset X2.

S12

correlation/covariance matrix between dataset X1 and dataset X2.

tol

tolerance for eigenvalues. standardCCA function only deals with positive eigenvalues larger than the tolerance.

Value

standardCCA returns a data.frame containing


mixedCCA documentation built on March 21, 2021, 1:07 a.m.