plot.paleoTS {paleoTS} | R Documentation |
Plots paleontological time series, showing trait means (with error bars) over time.
## S3 method for class 'paleoTS': plot(x, nse = 1, pt.ch = 19, yl = NULL, pool = TRUE, true.means = FALSE, add = FALSE, ...)
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 |
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", pt.ch=4)