wc.to.po | R Documentation |
This function creates a pith offset data structure based on wood completeness data.
wc.to.po(wc)
wc |
A |
Computes the sum of the variables n.missing.heartwood
and
n.unmeasured.inner
in wc
.
A data.frame
containing two variables. Variable one
(series
) gives the series ID as either
character
s or factor
s. 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.
Mikko Korpela
po.to.wc
, rcs
, read.tridas
library(utils)
data(gp.po)
all(wc.to.po(po.to.wc(gp.po)) == gp.po)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.