TAS: TAS diagram

View source: R/xy.R

TASR Documentation

TAS diagram

Description

Total Alkali Silica diagram

Usage

TAS(
  Na2O = NULL,
  K2O = NULL,
  SiO2 = NULL,
  xlim = NULL,
  ylim = NULL,
  plutonic = FALSE,
  show.labels = TRUE,
  short = TRUE,
  ...
)

Arguments

Na2O

vector with Na_2O concentrations (wt%)

K2O

vector with K_2O concentrations (wt%)

SiO2

vector with SiO_2 concentrations (wt%)

xlim

x-axis limits

ylim

y-axis limits

plutonic

logical. If TRUE, uses the nomenclature of Middlemost (1994).

show.labels

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

short

use short labels when using the additional argument show.labels=TRUE.

...

additional arguments to the generic points function, may include the logical argument show.labels which labels the fields in the diagram.

Value

a vector with rock types

References

Le Maitre, R. W., Streckeisen, A., Zanettin, B., Bas, M. J. L., Bonin, B., and Bateman, P., 2004, "Igneous Rocks: A Classification and Glossary of Terms": Cambridge University Press, v. -1, no. 70, p. 93–120.

Middlemost, E.A., 1994. Naming materials in the magma/igneous rock system. Earth-science reviews, 37(3-4), pp.215-224.

Examples

data(test,package='GeoplotR')
TAS(test[,'Na2O'],test[,'K2O'],test[,'SiO2'])

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