pfBoxCox: Box-Cox transformation of Charcoal series

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/pfBoxCox.R

Description

Box-Cox transformation of charcoal series, the maximum likelihood estimation of lambda is derived from the boxcox.R function in the Venables and Ripley MASS library included in R 2.6.1

Usage

1
pfBoxCox(serie, alpha = 0.01, type = "BoxCox1964")

Arguments

serie

A vector of charcoal values.

alpha

Numeric, the "shift" parameter, default=0.01.

type

Character, the Box-Cox transformation formulation, can be either "BoxCox1964" (default) for the original Box & Cox (1964) formulation, or "JohnDraper" for the John & Draper (1980) modulus transformation.

Value

X

Vector of transformed charcoal values

Author(s)

P. Bartlein

References

Venables, W. N., Ripley, B. D., & Venables, W. N. (1994). Modern applied statistics with S-PLUS (Vol. 250). New York: Springer-verlag.

Box, G.E.P. & Cox, D. R.(1964) An analysis of transformations, Journal of the Royal Statistical Society, Series B, 26, 211-252.

John, J. A. & Draper N. R. (1980) Analternative family of transformations, Applied Statistics, 29, 190-197.

See Also

pfTransform

Examples

1
2
3
4
5
6
7
8
# Select a site
ID=pfSiteSel(site_name=="Pas-de-Fond")

# Extract data
A=pfExtract(ID)

B=pfBoxCox(A[,4],0.1)
plot(B,type="l")

paleofire documentation built on Jan. 11, 2020, 9:44 a.m.