AnAbOr: An-Ab-Or

View source: R/xyz.R

AnAbOrR Documentation

An-Ab-Or

Description

An-Ab-Or diagram for tonalite, trondhjemite, granodiorite, and granite according to Barker (1979).

Usage

AnAbOr(An = NULL, Ab = NULL, Or = NULL, show.labels = TRUE, ...)

Arguments

An

vector with normative anorthite concentrations (wt%)

Ab

vector with normative albite concentrations (wt%)

Or

vector with normative orthoclase concentrations (wt%)

show.labels

logical. If TRUE, labels the discrimination fields on the plot.

...

additional arguments for the generic points function.

Value

a list with labels, indicating whether the input data are tonalite, trondhjemite, granodiorite, granite.

References

Barker, F., 1979, Trondhjemite: Definition, environment, and hypotheses of origin: p. 1-12, in Barker, F., ed., Trondhjemites, Dacites, and Related Rocks, Elsevier, Amsterdam, 659 p.

Examples

AnAbOr(An=c(70,75,73),Ab=c(20,10,27),Or=c(10,15,0))

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