plot.paleoTS {paleoTS}R Documentation

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, pt.ch = 19, yl = NULL, pool = TRUE, true.means = FALSE, add = FALSE, ...)

Arguments

x a paleoTS object
nse size of error bars, in standard errors
pt.ch plotting character
yl range of trait values to plot
pool logical, indicating if should pool variances among samples in computing standard errors
true.means logical indicating if true means (from simulated data) should also be plotted
add logical, if TRUE data are added to existing plot
... other arguments sent to plot

Details

True means are only available when the data are simulated. If plotted, they are indicated by a dashed blue line.

Value

No values are returned, the results are plotted.

Author(s)

Gene Hunt

References

Hunt, G. 2006. Fitting and comparing models of phyletic evolution: random walks and beyond. Paleobiology32:578–601.

See Also

as.paleoTS

Examples

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", pt.ch=4)

[Package paleoTS version 0.3-1 Index]