Learn R Programming

paleofire (version 1.2.4)

plot.pfComposite: plot.pfComposite

Description

Plot a pfComposite object

Usage

# S3 method for pfComposite
plot(
  x,
  type = "ci",
  conf = c(0.05, 0.95),
  palette = "jet",
  add = "NONE",
  text = FALSE,
  main = NULL,
  ...
)

Arguments

x

A "pfComposite" object.

type

Character, type of plot among "ci", "prctile", "density"

conf

Numeric, confidence levels.

palette

Character, color palette used with type=c("prctile", "density") among "jet" and "BW".

add

Character, add="NONE" by default, add="sitenum" could be specified to plot the sites number in eah bin along with the composite curve.

text

Logical, text options.

main

Character, title of the plot.

Examples

Run this code
# NOT RUN {
# Composite charcoal record for boreal Canada:
ID=pfSiteSel(country=="Canada" & l12==1)
## Transform data
res3=pfTransform(ID,method=c("MinMax","Box-Cox","Z-Score"),BasePeriod=c(200,4000))

## Composite
comp=pfComposite(res3,bins=seq(0,5000,200))
plot(comp,type="density",smoothing=TRUE,spar=0.3)
# }

Run the code above in your browser using DataLab