| QAPF | R Documentation | 
Streckeisen (1967)'s Quartz - Alkali feldspar - Plagioclase feldspar diagram for classification of felsic and intermediate plutonic rocks.
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,
  ...
)
Q | 
 quartz (%)  | 
A | 
 alkali feldspar (%)  | 
P | 
 plagioclase feldspar (%)  | 
F | 
 feldspathoid (%)  | 
volcanic | 
 logical. If   | 
pch | 
 plot character. See   | 
bg | 
 fill colour of the plot symbols.  | 
show.labels | 
 logical. If   | 
short | 
 use short labels when using the additional argument
  | 
... | 
 additional arguments to the generic   | 
a vector with rock names
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.
   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))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.