Learn R Programming

paleofire (version 1.1.8)

plot.CHAR: Plot CHAR

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

"plot"(x, ...)

Arguments

x
An object of the class "CHAR".
...
...

Examples

Run this code

## 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)


Run the code above in your browser using DataLab