Learn R Programming

paleoTS (version 0.5.3)

plot.paleoTS: Plot a paleoTS object

Description

Plot a paleoTS object

Usage

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

Value

none.

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

lwd

line width, defaults to 1.5

ylim

optional, y-limits of the plot

...

other arguments passed to plotting functions

Examples

Run this code
x <- sim.GRW(ns = 30)
w <- fitSimple(x, model = "GRW", method = "Joint")
plot(x, modelFit = w)

Run the code above in your browser using DataLab