addRing {xRing}R Documentation

Add Tree-Ring Border(s)

Description

Add a tree-ring border by defining the position of the new border

Usage

addRing(object, x, series = NULL)

Arguments

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 object is "xRingList", by default is NULL

Value

a "xRing" or "xRingList" object with a tree-ring border added at the position x for the series given by series argument

Examples


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")


[Package xRing version 0.1.1 Index]