PCARaster: PCARaster - PCA of Raster files

Description Usage Arguments Details Value Examples

View source: R/PCARaster.R

Description

Performs Principle Component Analysis of Raster objects and returns summary and loadings for the componetns.

Usage

1
2
PCARaster(BioStackFiles = NA, LoadingFile = NA, CompImpFile = NA,
  OPfolder = NA)

Arguments

BioStackFiles

- ESRI ASCII grid files of predictor variables

LoadingFile

- name of output file which stores loadings for components

CompImpFile

- name of output file of the PCA summaries

OPfolder

- name of output folder to save PCA component, loading and summary file

Details

Main function to generate PCA for the selected bioclimatic layer and then save the pca components in ASCII format. This function will accept the bioclimatic ASCII files. PCApca components are stored as Comp1.asc, Comp2.asc...... and so on. This function returns the pca of the ascii data supplied to do further processing like checking for eigen values, broken stick etc.

Value

a summary of the PCA is returned as a structure

Examples

1
2
3
4
## Not run: 
pcaop = PCARaster()

## End(Not run)

narayanibarve/ENMGadgets documentation built on May 25, 2019, 10:34 p.m.