Learn R Programming

CovRegRF

R package which implements Covariance Regression with Random Forests (CovRegRF).

CovRegRF is a random forest method for estimating the covariance matrix of a multivariate response Y, given a set of covariates X. The forest trees are built with a splitting rule specifically designed to partition the data to maximize the distance between the sample covariance matrix estimates of the child nodes.

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

vignette("CovRegRF")

Installation

The package CovRegRF can be installed 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/CovRegRF', build_vignettes = TRUE)

References

  • Alakus, C., Larocque, D., and Labbe, A. (2023). Covariance regression with random forests. BMC Bioinformatics 24, 258.

Copy Link

Version

Install

install.packages('CovRegRF')

Monthly Downloads

9

Version

2.0.1

License

GPL (>= 3)

Maintainer

Cansu Alakus

Last Published

July 15th, 2024

Functions in CovRegRF (2.0.1)

predict.covregrf

Predict method for covregrf objects
print.covregrf

Print summary output of a CovRegRF analysis
CovRegRF-package

CovRegRF: A package for estimating covariance matrix of a multivariate response given a set of covariates with random forests
covregrf

Covariance Regression with Random Forests
data

Generated example data
plot.vimp.covregrf

Plot variable importance measures for covregrf objects
significance.test

Significance test
vimp.covregrf

Variable importance for covregrf objects