setLastYear {xRing} | R 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")
[Package xRing version 0.1.1 Index]