plot.CHAR: Plot CHAR

Description Usage Arguments Author(s) Examples

View source: R/pretreatment.R

Description

Plot an object of the class "CHAR" returned by the pretreatment function. Original accumulation rates are presented using grey bars, accumulation rates interpolated at equal time steps are presented by a black curve.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## S3 method for class 'CHAR'
plot(
  x,
  xlim = NULL,
  ylim = NULL,
  xlab = NULL,
  ylab = NULL,
  frame = TRUE,
  main = NULL,
  ...
)

Arguments

x

An object of the class "CHAR".

xlim

xlim...

ylim

ylim...

xlab

x axis label.

ylab

y axis label.

frame

TRUE by default

main

main plot title

...

...

Author(s)

O. Blarquez

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
## Not run: 
## In this example we will use the charcoal record of the Lac du Loup (Blarquez et al. 2010)
## Load raw charcoal data in mm^2
A=read.csv("http://blarquez.com/public/code/loupchar.csv")
C_=A[,6] # charcoal areas
P_=A[,1:5] # CmTop, CmBot, AgeTop, AgeBot, Volume


## Calculates charcoal accumulation rate (CHAR, mm2.cm-2.yr-1)
CHAR=pretreatment(params=P_,serie=C_,Int=TRUE)
plot(CHAR)

## End(Not run)

paleofire/paleofire documentation built on Dec. 29, 2021, 11:09 a.m.