pcga: Compute a Principal Component Gradient Analysis

View source: R/dendRolAB_source_code_0.3.R

pcgaR Documentation

Compute a Principal Component Gradient Analysis

Description

pcga makes use of an ordinary PCA to compute the similarity of tree-ring series based on the loadings of the first two principal components. x-y-coordinates of PC-loadings are transformed into polar coordinates which are used to define a gradient of similarity along the loadings.

Usage

pcga(rwl,plot.CI=T)

Arguments

rwl

An rwl.data.frame such as the one generated by read.rwl in the dplR-package.

plot.CI

Specify whether the common overlap period shall be plotted. Defaults to TRUE.

Details

pcga automatically extracts the common overlap period of the rwl.data.frame. If this period is too short, results may be meaningless –> consider removing too short series. Moreover, detrending has an important impact on the results obtained by pcga. Depending on research questions you may consider using rigorous detrending techniques to emphasize high-frequency variability (e.g. polynomial spline or autoregressive models) or representations of absolute growth such as basal area increments (bai.in and bai.out in 'dplR').

Value

pca

result of the ordinary PCA computed within pcga

imp

importance of the first two principal components expressed as proportions - the higher, the more meaningful the results of pcga

rank

ranking according to the loadings of the PCA, i.e. the more similar the rank the more similar the variability of tree-ring series

pol.coord

polar coordinates of the loadings

pop

input data used for the computation

period

common overlap period of the input data

Note

Please note that the virtual learning platform at dendroschool.org contains a video-tutorial on how to compute and evaluate pcga.

Author(s)

Allan Buras

References

Buras et al., 2016: Tuning the voices of a choir: detecting ecological gradients in time-series populations. PLoS ONE 11(7): e0158346. DOI:10.1371/journal.pone.0158346


AllanBuras/dendRolAB documentation built on June 2, 2022, 11:27 p.m.