plot.paleoTS: Plot a paleoTS object

plot.paleoTSR Documentation

Plot a paleoTS object

Description

Plot a paleoTS object

Usage

## S3 method for class 'paleoTS'
plot(
  x,
  nse = 1,
  pool = FALSE,
  add = FALSE,
  modelFit = NULL,
  pch = 21,
  pt.bg = "white",
  lwd = 1.5,
  ylim = NULL,
  xlab = NULL,
  ylab = NULL,
  add.label = TRUE,
  ...
)

Arguments

x

a paleoTS object

nse

the number of standard errors represented by the error bars on the plot; defaults to 1

pool

logical indicating if variances should be pooled across samples for the purposes of displaying error bars; defaults to FALSE

add

logical, if TRUE, adds to existing plot

modelFit

optional model fit from fitting functions

pch

plotting symbol, defaults to 19

pt.bg

color fill for points, defaults to white

lwd

line width, defaults to 1.5

ylim

optional, y-limits of the plot

xlab

optional, label for x-axis

ylab

optional, label for y-axis

add.label

logical, if TRUE, writes label from x at the top of the plot

...

other arguments passed to plotting functions

Value

none.

Examples

x <- sim.GRW(ns = 30)
w <- fitSimple(x, model = "GRW", method = "Joint")
plot(x, modelFit = w)
plot(x, xlab = "Time [Myr]", ylab = "Body length [mm]", pch = 22, pt.bg = "blue")

paleoTS documentation built on Sept. 11, 2024, 9:18 p.m.