po.to.wc: Convert Pith Offset to Wood Completeness

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

Description

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

Usage

1

Arguments

po

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

Details

Uses pith.offset - 1 as the number of missing heartwood rings.

Value

A data.frame containing one variable of wood completeness data: n.missing.heartwood (integer type). This can be used as input to write.tridas.

Author(s)

Mikko Korpela

See Also

wc.to.po, rcs, write.tridas

Examples

1
2
3
4
5
6
## Not run: 
library(utils)
data(gp.po)
all(wc.to.po(po.to.wc(gp.po)) == gp.po)

## End(Not run)


Search within the dplR package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.