View source: R/Vermeesch2006.R
NbZrY | R Documentation |
Nb-Zr-Y tectonic discrimination diagram
NbZrY(
Nb = NULL,
Zr = NULL,
Y = NULL,
type = c("Meschede", "LDA", "QDA"),
ternary = TRUE,
pch = 21,
bg = NULL,
show.labels = FALSE,
short = TRUE,
...
)
Nb |
vector with Nb 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 tectonic affinities.
Meschede, M., 1986. A method of discriminating between different types of mid-ocean ridge basalts and continental tholeiites with the Nb-Zr-Y diagram. Chemical geology, 56(3-4), pp.207-218.
data(test,package='GeoplotR')
NbZrY(Nb=test[,'Nb'],Zr=test[,'Zr'],Y=test[,'Y'])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.