Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


IsoplotR (version 0.5)

cad: Plot continuous data as cumulative age distributions

Description

Plot a dataset as a Cumulative Age Distribution (CAD), also known as a `empirical cumulative distribution function'.

Usage

cad(x, method = NA, pch = NA, verticals = TRUE, xlab = "age [Ma]", colmap = "heat.colors", col = "black", ...)

Arguments

x
an object of class UPb or detritals
method
a string indicating what kind of age should be plotted.

If x has class UPb, type could be one of either t.75, t.68 (default), t.76 or t.conc

pch
(optional) plot character
verticals
boolean flag indicating if the horizontal lines of the CAD should be connected by vertical lines
xlab
x-axis label
colmap
an optional string with the name of one of R's built-in colour palettes (e.g., heat.colors, terrain.colors, topo.colors, cm.colors), which are to be used for plotting data of class detritals.
col
colour to give to single sample datasets (i.e. not of class detritals)
...
optional arguments to the generic plot function

Examples

Run this code
data(examples)
cad(examples$DZ)

Run the code above in your browser using DataLab