View source: R/Vermeesch2006.R
TiZrY | R Documentation |
Ti-Zr-Y tectonic discrimination diagram
TiZrY(
Ti = NULL,
Zr = NULL,
Y = NULL,
type = c("Pearce", "LDA", "QDA"),
ternary = TRUE,
pch = 21,
bg = NULL,
show.labels = FALSE,
short = TRUE,
...
)
Ti |
vector with Ti concentrations (ppm) |
Zr |
vector with Zr concentrations (ppm) |
Y |
vector with Y concentrations (ppm) |
type |
either |
ternary |
logical. If |
pch |
plot character. See |
bg |
fill colour for the plot character. |
show.labels |
logical. If |
short |
logical. If |
... |
additional arguments for the generic |
if type='LDA'
or type='QDA'
, a list with
components class
, posterior
and x
;
otherwise a table with labels for MORB
, IAB
and
OIB
.
Pearce, J. A., and Cann, J. R., 1973, Tectonic setting of basic volcanic rocks determined using trace element analyses: Earth and Planetary Science Letters, v. 19, no. 2, p. 290-300.
data(test,package='GeoplotR')
TiZrY(Ti=wtpct2ppm(test[,'TiO2']),
Zr=test[,'Zr'],Y=test[,'Y'],
type='QDA',plot='ternary')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.