Package: capr 0.2.0
capr: Covariate Assisted Principal Regression
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" <doi:10.1093/biostatistics/kxz057>.
Authors:
capr_0.2.0.tar.gz
capr_0.2.0.tar.gz(r-4.7-arm64)capr_0.2.0.tar.gz(r-4.7-x86_64)capr_0.2.0.tar.gz(r-4.6-arm64)capr_0.2.0.tar.gz(r-4.6-x86_64)
capr_0.2.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
capr/json (API)
| # Install 'capr' in R: |
| install.packages('capr', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/rluo/capr/issues
Last updated from:17edd95a1e. Checks:6 OK. Indexed: no.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 136 | ||
| linux-devel-x86_64 | OK | 128 | ||
| source / vignettes | OK | 250 | ||
| linux-release-arm64 | OK | 132 | ||
| linux-release-x86_64 | OK | 135 | ||
| wasm-release | OK | 126 |
Exports:caprcapr.bootcosine_similarityFGFG2log_deviation_from_diagonalitysimu.capr
Dependencies:MASSRcppRcppArmadillo
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Covariate Assisted Principal (CAP) Regression | capr |
| Bootstrap confidence intervals for CAP coefficients | capr.boot |
| Cosine similarity between numeric vectors | cosine_similarity |
| Flury-Gautschi Common Principal Components | FG FG2 |
| Log deviation from diagonality | log_deviation_from_diagonality |
| Plot deviation diagnostics by component count | plot.capr |
| Print method for CAP regression fits | print.capr |
| Print method for 'capr.boot' objects | print.capr.boot |
| Simulate covariance matrices compatible with 'capr()' | simu.capr |
