to_cambial_age: to_cambial_age

Description Usage Arguments Value Examples

View source: R/internals.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.

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)
iadf:::to_cambial_age(gp.rwl, gp.po)

konradmayer/iadf documentation built on March 17, 2021, 7:35 a.m.