QAPF: QAPF diagram

View source: R/QAPF.R

QAPFR Documentation

QAPF diagram

Description

Streckeisen (1967)'s Quartz - Alkali feldspar - Plagioclase feldspar diagram for classification of felsic and intermediate plutonic rocks.

Usage

QAPF(
  Q = NULL,
  A = NULL,
  P = NULL,
  F = NULL,
  volcanic = FALSE,
  pch = 21,
  bg = NULL,
  show.labels = TRUE,
  short = TRUE,
  ...
)

QAP(
  Q = NULL,
  A = NULL,
  P = NULL,
  volcanic = FALSE,
  pch = 21,
  bg = NULL,
  show.labels = TRUE,
  short = TRUE,
  ...
)

FAP(
  F = NULL,
  A = NULL,
  P = NULL,
  pch = 21,
  bg = NULL,
  show.labels = TRUE,
  short = TRUE,
  ...
)

Arguments

Q

quartz (%)

A

alkali feldspar (%)

P

plagioclase feldspar (%)

F

feldspathoid (%)

volcanic

logical. If TRUE, uses the volcanic classification of Le Maitre et al. (2004).

pch

plot character. See ?par for details.

bg

fill colour of the plot symbols.

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 names

References

Streckeisen, A., 1967, Classification and nomenclature of igneous rocks. Nues Jarbuch fur Mineralogie Abhandlungen, v. 107, p. 144-240.

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.

Examples

   out <- QAPF(Q=c(50,40,0,0,80,60),
               A=c(10,20,50,0,0,20),
               P=c(40,40,50,20,20,20),
               F=c(0,0,0,80,0,0))

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