setLastYear {xRing} | R Documentation |
Changes the calendar year of the last ring for a specific series.
setLastYear(x, lastYear, series = NULL)
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 |
the modified input object with new set last ring of the specified series.
data(PaPiRaw)
data(PaPiSpan)
PaPi <- detectRings(PaPiRaw, PaPiSpan)
plot(PaPi, series = "AFO1001b")
PaPi <- setLastYear(PaPi, 2005, series = "AFO1001b")
plot(PaPi, series = "AFO1001b")