plot.paleoTS {paleoTS} | R Documentation |
Plots paleontological time series, showing trait means (with error bars) over time.
plot.paleoTS(x, nse = 1, yl = NULL, pch = NULL, pool = TRUE, true.means = FALSE, add = FALSE, ...)
x |
a paleoTS object |
nse |
width of error bars, in standard errors |
yl |
range of trait values to plot |
pch |
plotting character |
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 |
True means are only available when the data are simulated. If plotted, they are indicated by a dashed blue line.
No values are returned, the results are plotted.
Gene Hunt
Hunt, G. 2006. Fitting and comparing models of phyletic evolution: random walks and beyond. Paleobiology32:578–601.
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", pch=4)