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

wc.to.po

Convert Wood Completeness to Pith Offset


Description

This function creates a pith offset data structure based on wood completeness data.

Usage

wc.to.po(wc)

Arguments

wc

A data.frame containing wood completeness data, as returned by read.tridas.

Details

Computes the sum of the variables n.missing.heartwood and n.unmeasured.inner in wc.

Value

A data.frame containing two variables. Variable one (series) gives the series ID as either characters or factors. These match rownames(wc). Variable two (pith.offset) is of integer type and gives the years from the beginning of the core to the pith (or center) of the tree. The minimum value is 1.

Author(s)

Mikko Korpela

See Also

Examples

library(utils)
data(gp.po)
all(wc.to.po(po.to.wc(gp.po)) == gp.po)

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.