SpatPCA is an R package that facilitates regularized principal component analysis,
To get the current released version from CRAN:
To get the current development version from GitHub:
To compile C++ code with the package
curl -O http://r.research.att.com/libs/gfortran-4.8.2-darwin13.tar.bz2 sudo tar fvxz gfortran-4.8.2-darwin13.tar.bz2 -C /
More details can be found here.
library(SpatPCA) spatpca(position, realizations)
Wang, W.-T. and Huang, H.-C. (2017). Regularized principal component analysis for spatial data. Journal of Computational and Graphical Statistics, 26, 14-25.
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.