cca: Canonical Correlation Analysis

Description Usage Arguments Value See Also Examples

View source: R/cca.R

Description

Conduct the canonical correlation anlaysis between two sets of variables.

Usage

1
cca(A, B)

Arguments

A

The input data matrix of the first set of the variables. Each row of A represents the observations of a single individual. Each column of A represents the variables.

B

The input data matrix of the second set of the variables. Each row of B represents the observations of a single individual. Each column of B represents the variables.

Value

The output is a list.

rho

a numeric vector of canonical correlation coefficients

chisq_p

p_value between 0 and 1 by using chi-square test

df

degree of freedom

See Also

CCA_chisq_test,qcca

Examples

1
2
3

QRFCCA documentation built on Nov. 17, 2017, 7:20 a.m.