https://github.com/watanabe-j/eigvaldisprcpp
Rcpp extension of eigvaldisp
https://github.com/watanabe-j/eigvaldisprcpp
evolutionary-biology morphometrics r r-package rcpp
Last synced: 7 months ago
JSON representation
Rcpp extension of eigvaldisp
- Host: GitHub
- URL: https://github.com/watanabe-j/eigvaldisprcpp
- Owner: watanabe-j
- License: gpl-3.0
- Created: 2022-01-28T22:12:25.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-12-07T12:53:18.000Z (almost 2 years ago)
- Last Synced: 2025-02-01T19:18:22.669Z (8 months ago)
- Topics: evolutionary-biology, morphometrics, r, r-package, rcpp
- Language: C++
- Homepage:
- Size: 31.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# eigvaldispRcpp
Rcpp extension of eigvaldispThis package extends the R package
[`eigvaldisp`](https://github.com/watanabe-j/eigvaldisp) by
fast C++ functions using `Rcpp`-related packages.
This is to speed-up evaluation of the approximate variance of
the relative eigenvalue variance of correlation matrices with
`eigvaldisp::Var.VRR()`, which takes prohibitively long time in R, even
with vectorization and parallelization (see `eigvaldisp:::AVar.VRR_pfd()`).This extension is provided as a separate package to minimize the dependency
of `eigvaldisp`. Practically, one would not need this extension unless
interested in applying `eigvaldisp::Var.VRR()` to large correlation
matrices (p > 100 or so).## Installation
```
# install.packages("devtools")
devtools::install_github("watanabe-j/eigvaldispRcpp")
```This package has the following dependencies:
```
Depends: eigvaldisp
Imports: Rcpp, RcppParallel
LinkingTo: Rcpp, RcppArmadillo, RcppEigen, RcppParallel
Suggests: testthat (>= 3.0.0)
SystemRequirements: GNU make
```In case you are unfamiliar with `Rcpp`, it requires a working C++ compiler.
Most Linux and macOS users would already have one. Windows users will require
[Rtools](https://cran.r-project.org/bin/windows/Rtools/),
which comes with GNU `make`.
See http://www.rcpp.org/ or https://cran.r-project.org/package=Rcpp for details.## See also
Watanabe, J. (2021). eigvaldisp: R package for statistics of eigenvalue dispersion. https://github.com/watanabe-j/eigvaldisp.Watanabe, J. (2022). Statistics of eigenvalue dispersion indices: quantifying the magnitude of phenotypic integration. *Evolution*, **76**, 4–28. doi:[10.1111/evo.14382](https://doi.org/10.1111/evo.14382).