SpatPCA Package

R build status Coverage Status

Description

SpatPCA is an R package designed for efficient regularized principal component analysis, providing the following features:

Installation

To install the current development version from GitHub, use the following R code:

remotes::install_github("egpivo/SpatPCA")

For compiling C++ code with the required RcppArmadillo and RcppParallel packages, follow these instructions:

brew update
brew install gcc

For a detailed solution, refer to this link, or download and install the library gfortran to resolve the error ld: library not found for -lgfortran.

Usage

library(SpatPCA)
spatpca(position, realizations)

Author

Maintainer

Wen-Ting Wang

Reference

Wang, W.-T. and Huang, H.-C. (2017). Regularized principal component analysis for spatial data. Journal of Computational and Graphical Statistics, 26, 14-25.

License

GPL-3