to_cambial_age {iadf}R Documentation

to_cambial_age

Description

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

Usage

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

library("dplR")
data("gp.rwl")
data("gp.po")
gp.po$series <- as.character(gp.po$series)
iadf:::to_cambial_age(gp.rwl, gp.po)

[Package iadf version 0.1.2 Index]