RFCCA

R package which implements Random Forest with Canonical Correlation Analysis (RFCCA).

RFCCA is a random forest method for estimating the canonical correlations between two sets of variables, X and Y, depending on the subject-related covariates, Z. The trees are built with a splitting rule specifically designed to partition the data to maximize the canonical correlation heterogeneity between child nodes.

For theoretical details and example data analysis, you can look at the vignette from within R by using the following command:

vignette("RFCCA")

Installation

This package is available on CRAN. Alternatively, you can install RFCCA from GitHub using the devtools package. Run the following code in R to install:

if (!require(devtools)) {
  install.packages("devtools")
  library(devtools)
}
devtools::install_github('calakus/RFCCA', build_vignettes = TRUE)

References