Plot a dataset as a Cumulative Age Distribution (CAD), also known as a `empirical cumulative distribution function'.
cad(x, ...)# S3 method for default
cad(x, pch = NA, verticals = TRUE, xlab = "age [Ma]",
colmap = "heat.colors", col = "black", ...)
# S3 method for detritals
cad(x, pch = NA, verticals = TRUE, xlab = "age [Ma]",
colmap = "heat.colors", ...)
# S3 method for UPb
cad(x, pch = NA, verticals = TRUE, xlab = "age [Ma]",
col = "black", type = 4, cutoff.76 = 1100, cutoff.disc = c(-15, 5),
...)
# S3 method for PbPb
cad(x, pch = NA, verticals = TRUE, xlab = "age [Ma]",
col = "black", i2i = FALSE, ...)
# S3 method for ArAr
cad(x, pch = NA, verticals = TRUE, xlab = "age [Ma]",
col = "black", i2i = FALSE, ...)
# S3 method for ReOs
cad(x, pch = NA, verticals = TRUE, xlab = "age [Ma]",
col = "black", i2i = TRUE, ...)
# S3 method for SmNd
cad(x, pch = NA, verticals = TRUE, xlab = "age [Ma]",
col = "black", i2i = TRUE, ...)
# S3 method for RbSr
cad(x, pch = NA, verticals = TRUE, xlab = "age [Ma]",
col = "black", i2i = TRUE, ...)
# S3 method for LuHf
cad(x, pch = NA, verticals = TRUE, xlab = "age [Ma]",
col = "black", i2i = TRUE, ...)
# S3 method for UThHe
cad(x, pch = NA, verticals = TRUE, xlab = "age [Ma]",
col = "black", ...)
# S3 method for fissiontracks
cad(x, pch = NA, verticals = TRUE,
xlab = "age [Ma]", col = "black", ...)
a numerical vector OR an object of class UPb
,
PbPb
, ArAr
, UThHe
, fissiontracks
,
ReOs
, RbSr
, SmNd
, LuHf
or
detritals
optional arguments to the generic plot
function
plot character to mark the beginning of each CAD step
logical flag indicating if the horizontal lines of the CAD should be connected by vertical lines
x-axis label
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
.
colour to give to single sample datasets (not applicable
if x
has class detritals
)
scalar indicating whether to plot the
type
=1), the
type
=2), the
type
=3), the
type
=4), or the (Wetherill) concordia age
(type
=5)
the age (in Ma) below which the
type=4
.
two element vector with the maximum and minimum
percentage discordance allowed between the
cutoff.disc=NA
if you do not want to use this filter.
`isochron to intercept': calculates the initial (aka
`inherited', `excess', or `common')
i2i
to FALSE
uses the default values stored in settings('iratio',...)
or zero (for the Pb-Pb method).
Vermeesch, P., 2007. Quantitative geomorphology of the White Mountains (California) using detrital apatite fission track thermochronology. Journal of Geophysical Research: Earth Surface, 112(F3).
# NOT RUN {
data(examples)
cad(examples$DZ,verticals=FALSE,pch=20)
# }
Run the code above in your browser using DataLab