plot {xRing} | R Documentation |
Plot xRing and xRingList Objects
Description
Plot method for objects of class "xRing" and "xRingList".
Usage
## S3 method for class 'xRing'
plot(x, years = NULL, EwLw = TRUE, xlim = NULL, ylim = NULL, ...)
## S3 method for class 'xRingList'
plot(x, series = 1, years = NULL, EwLw = TRUE, xlim = NULL, ylim = NULL, ...)
Arguments
x |
an object of class "xRing" or "xRingList". |
years |
the years to be plotted, if |
EwLw |
logical. If |
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 |
series |
gives the name (or the index) of the series to be plotted, by default is 1 (i.e., the first series) |
Value
None.
See Also
Examples
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)
[Package xRing version 0.1.1 Index]