Convert Wood Completeness to Pith Offset

Share:

Description

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

Usage

1
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

po.to.wc, rcs, read.tridas

Examples

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

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.