README.md

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



Try the SpatPCA package in your browser

Any scripts or data that you put into this service are public.

SpatPCA documentation built on Nov. 13, 2023, 5:06 p.m.