plot.pfComposite: plot.pfComposite

Description Usage Arguments Author(s) Examples

View source: R/pfComposite.R

Description

Plot a pfComposite object

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## S3 method for class '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.

...

...

Author(s)

O. Blarquez

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## 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)

## End(Not run)

paleofire documentation built on Jan. 11, 2020, 9:44 a.m.