TASplot: TASplot

Description Usage Arguments Author(s) References Examples

View source: R/TASplot.R

Description

Plot the TAS diagram with automatical scales and adjusts. The TAS classification based on TAS diagram can be used to assign names to many common types of volcanic rocks based upon the relationships between the combined alkali content and the silica content. The Abbreviations in the plot mean; PB: Picrobasalt, B: Basalt, BA: Basaltic Andesite, A: Andesite, D: Dacite, R: Rhyolite, TB: Trachybasalt, BTA: Basaltictrachybasalt, TA: Trachyandesite, TD: Trachydacite, T: Trachyte, Ba: Basanite, Te: Tephrite, PT: Phonotephrite, TP: Tephriphonolite, P: Phonolite, F: Foidite.

Usage

1
TASplot(filename,color="blue",size=3,shape=1)

Arguments

filename

a whole rock major element chemical data.

color

color of the points. Default = "blue".

size

size of the points, in mm. Default = 3.

shape

shape of the points. Default = 1.

Author(s)

Renee Gonzalez Guzman rguzman@cicese.edu.mx

References

Le Bas, M.J., Le Maitre, R.W., Streckeisen, A. and Zanettin, B. (1986): A chemical classification of volcanic rocks on the total alkali vs silica diagram. Journal of Petrology. v 27, pp. 745–750.

Le Maitre, R.W et al. 2002. Igneous Rocks: A Classification and Glossary of Terms: Recommendations of the International Union of Geological Sciences, Subcommission on the Systematics of Igneous Rocks. Cambridge University Press, 2002, 252 pp.

Examples

1
2
3
data(Andes)
TASplot(Andes, color="blue")
##

Example output

Warning message:
Removed 1 rows containing missing values (geom_point). 

NORRRM documentation built on May 1, 2019, 10:55 p.m.