addRing {xRing} | R Documentation |
Add a tree-ring border by defining the position of the new border
addRing(object, x, series = NULL)
object |
an object of class "xRingList" or "xRing" |
x |
the position (number of the resp. pixel(s)) to set the new tree-ring border |
series |
the name of the series to be changed when the |
a "xRing" or "xRingList" object with a tree-ring border added at the position x
for the series given by series
argument
data(PaPiRaw)
data(PaPiSpan)
PaPi <- detectRings(PaPiRaw, PaPiSpan)
plot(PaPi$"AFO1001a")
PaPi$AFO1001a <- removeRing(PaPi$AFO1001a, 47)
plot(PaPi$"AFO1001a")
PaPi <- addRing(PaPi, series = "AFO1001a", x = 47)
plot(PaPi$"AFO1001a")