Learn R Programming

capr (version 0.2.0)

Covariate Assisted Principal Regression

Description

Covariate Assisted Principal Regression (CAPR) for multiple covariance-matrix outcomes. The method identifies (principal) projection directions that maximize the log-likelihood of a log-linear regression model of the covariates. See Zhao et al. (2021), "Covariate Assisted Principal Regression for Covariance Matrix Outcomes" .

Copy Link

Version

Install

install.packages('capr')

Version

0.2.0

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Xi LUO

Last Published

January 24th, 2026

Functions in capr (0.2.0)

cosine_similarity

Cosine similarity between numeric vectors
FG

Flury-Gautschi Common Principal Components
capr

Covariate Assisted Principal (CAP) Regression
plot.capr

Plot deviation diagnostics by component count
capr.boot

Bootstrap confidence intervals for CAP coefficients
print.capr

Print method for CAP regression fits
log_deviation_from_diagonality

Log deviation from diagonality
simu.capr

Simulate covariance matrices compatible with capr()
print.capr.boot

Print method for capr.boot objects
capr-package

capr package documentation