ThTaHf: Th-Ta-Hf

View source: R/Vermeesch2006.R

ThTaHfR Documentation

Th-Ta-Hf

Description

Th-Ta-Hf tectonic discrimination diagram

Usage

ThTaHf(
  Th = NULL,
  Ta = NULL,
  Hf = NULL,
  type = c("Wood", "LDA", "QDA"),
  ternary = TRUE,
  pch = 21,
  bg = NULL,
  show.labels = FALSE,
  short = TRUE,
  ...
)

Arguments

Th

vector with Th concentrations (ppm)

Ta

vector with Ta concentrations (ppm)

Hf

vector with Hf concentrations (ppm)

type

either 'LDA' for linear discriminant analysis, 'QDA' for quadratic discriminant analysis, or 'Wood' for the nominal decision boundaries of Wood (1980).

ternary

logical. If FALSE, produces a logratio plot. Only used if type is LDA or QDA.

pch

plot character. See ?par for details.

bg

fill colour for the plot character.

show.labels

logical. If TRUE, labels the discrimination fields.

short

logical. If TRUE, uses abbreviated labels for the discrimination fields.

...

additional arguments for the generic points function.

Value

if type='LDA' or type='QDA', a list with components class, posterior and x; otherwise a table with tectonic affinities.

References

Wood, D.A., 1980. The application of a Th-Hf-Ta diagram to problems of tectonomagmatic classification and to establishing the nature of crustal contamination of basaltic lavas of the British Tertiary Volcanic Province. Earth and Planetary Science Letters, 50(1), pp.11-30.

Examples

data(test,package='GeoplotR')
ThTaHf(Th=test[,'Th'],Ta=test[,'Ta'],Hf=test[,'Hf'])

pvermees/GeoplotR documentation built on Aug. 20, 2024, 4:45 a.m.