Learn R Programming

xRing (version 0.1.2)

plot.xRing: Plot Method for xRing Objects

Description

Plot method for objects of class "xRing".

Usage

# S3 method for xRing
plot(x, years = NULL, EwLw = TRUE, xlim = NULL, ylim = NULL, ...)

Value

None.

Arguments

x

an object of class "xRing".

years

the years to be plotted, if NULL the whole time span is plotted.

EwLw

logical. If TRUE the earlywood and latewood boundaries and width is plotted.

xlim

vector of length 2 giving the x limits for the plot.

ylim

the y limits of the plot.

...

other arguments to be passed to plotRings function

See Also

plotRings

Examples

Run this code

data(PaPiRaw)
data(PaPiSpan)

PaPi <- detectRings(PaPiRaw, PaPiSpan)
class(PaPi)

PaPiRings <- detectEwLw(PaPi, ew = 0.5)
plot(PaPiRings, series = "AFO1001a")

PaPiRings1 <- detectEwLw(PaPi, ew = 0.35, lw = 0.55)
plot(PaPiRings1, series = "AFO1001a")

plot(PaPiRings, series = "AFO1001a", years = c(1990, 2000))
plot(PaPiRings$AFO1001a)


Run the code above in your browser using DataLab