Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

powt

Power Transformation of Tree-Ring Data


Description

Perform power transformation simultaneously for a data.frame of raw tree-ring width series.

Usage

powt(rwl, rescale = FALSE)

Arguments

rwl

a data.frame of raw tree-ring widths series, such as that produced by read.rwl or read.fh

rescale

logical flag. If TRUE then each transformed series is rescaled to have the orginal mean and standard deviation of the input (rwl) series.

Details

This procedure is a variance stabilization technique implemented after Cook & Peters (1997): for each series a linear model is fitted on the logs of level and spread, where level is defined as the local mean M_t = (R_t + R_(t-1))/2 with ring widths R, and spread S is the local standard deviation defined as S_t = |R_t - R_(t-1)|. The regression coefficient b from log S = k + b log M is then used for the power transform R*_t = R_t^(1-b).

The rescale argument rescales the data to more closely follow the convention in ARSTAN.

Value

An object of class c("rwl", "data.frame") containing the power transformed ring width series with the series in columns and the years as rows. The series IDs are the column names and the years are the row names.

Author(s)

Christian Zang. Patched and improved by Mikko Korpela.

References

Cook, E. R. and Peters, K. (1997) Calculating unbiased tree-ring indices for the study of climatic and environmental change. The Holocene, 7(3), 361–370.

See Also

Examples

library(utils)
data(gp.rwl)
gp.pt <- powt(gp.rwl)
hist(summary(gp.rwl)$skew)
hist(summary(gp.pt)$skew)

dplR

Dendrochronology Program Library in R

v1.7.2
GPL (>= 2)
Authors
Andy Bunn [aut, cph, cre, trl], Mikko Korpela [aut, cph, trl], Franco Biondi [aut, cph], Filipe Campelo [aut, cph], Pierre Mérian [aut, cph], Fares Qeadan [aut, cph], Christian Zang [aut, cph], Allan Buras [ctb], Jacob Cecile [ctb], Manfred Mudelsee [ctb], Michael Schulz [ctb], Klesse Stefan [ctb], Frank David [ctb], Visser Ronald [ctb]
Initial release
2021-01-27

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.