to_cambial_age: to_cambial_age

Description Usage Arguments Value Examples

View source: R/po.R

Description

This function aligns tree ring series to match their cambial ages, taking pith offset into account if provided.

Usage

1
to_cambial_age(rwl, po = NULL)

Arguments

rwl

a data frame/rwl object.

po

optional, a data frame containing series names in the first and po data as nr. of years in the second column (as cambial age of the first ring).

Value

A data.frame with aligned series

Examples

1
2
3
4
5
library("dplR")
data("gp.rwl")
data("gp.po")
gp.po$series <- as.character(gp.po$series)
to_cambial_age(gp.rwl, gp.po)

konradmayer/trlboku documentation built on July 3, 2020, 9:49 p.m.