Learn R Programming

paleoTS (version 0.4-4)

plot.paleoTS: Plots paleoTS objects

Description

Plots paleontological time series, showing trait means (with error bars) over time.

Usage

## S3 method for class 'paleoTS':
plot(x, nse = 1, pool = FALSE, add = FALSE, modelFit=NULL, pch=19, lwd=1.5, ylim=NULL, ...)

Arguments

x
a paleoTS object
nse
size of error bars, in standard errors
pool
logical, indicating if should pool variances among samples in computing standard errors
add
logical, if TRUE data are added to existing plot
modelFit
optional paleoTSfit object with model fit results to add to plot
pch
plotting symbol
lwd
line width for plotting
ylim
y limit for plotting (optional)
...
other arguments sent to plot

Value

  • No values are returned, the results are plotted.

Details

If modelFit is not NULL, then the expectations of that model, plus 95

See Also

as.paleoTS

Examples

Run this code
y <- sim.GRW(50, 0, 1)
plot(y)
ys <- sub.paleoTS(y, k=0.2)		# same sequence, sub-sampled
plot (ys, add=TRUE, col="red")

Run the code above in your browser using DataLab