setLastYear: Set Last Year

View source: R/setLastYear.R

setLastYearR Documentation

Set Last Year

Description

Changes the calendar year of the last ring for a specific series.

Usage

setLastYear(x, lastYear, series = NULL)

Arguments

x

an "xRing" or "xRingList" object

lastYear

the new calendar year for the last tree ring

series

individual series to be changed when the object is a "xRingList", by default is NULL

Value

the modified input object with new set last ring of the specified series.

Examples


data(PaPiRaw)
data(PaPiSpan)
PaPi <- detectRings(PaPiRaw, PaPiSpan)
plot(PaPi, series = "AFO1001b")
PaPi <- setLastYear(PaPi, 2005, series = "AFO1001b")
plot(PaPi, series = "AFO1001b")


xRing documentation built on April 22, 2022, 5:05 p.m.

Related to setLastYear in xRing...