2016 Book GeochemicalModellingOfIgneousP
2016 Book GeochemicalModellingOfIgneousP
2016 Book GeochemicalModellingOfIgneousP
Vojtěch Janoušek
Jean-François Moyen
Hervé Martin
Vojtěch Erban
Colin Farrow
Geochemical Modelling
of Igneous Processes –
Principles And Recipes
in R Language
Bringing the Power of R
to a Geochemical Community
Springer Geochemistry
More information about this series at http://www.springer.com/series/13486
Vojtěch Janoušek Jean-François Moyen
•
Colin Farrow
Geochemical Modelling
of Igneous Processes –
Principles And Recipes
in R Language
Bringing the Power of R to a Geochemical
Community
123
Vojtěch Janoušek Vojtěch Erban
Czech Geological Survey Czech Geological Survey
Prague Prague
Czech Republic Czech Republic
Hervé Martin
Université Blaise-Pascal
Clermont-Ferrand
France
Springer Geochemistry
ISBN 978-3-662-46791-6 ISBN 978-3-662-46792-3 (eBook)
DOI 10.1007/978-3-662-46792-3
geochemist. We strongly believe that this knowledge can be mediated in the form
of simple numerical recipes in a high-level programming language that includes
built-in mathematical and statistical functionality, matrix manipulation tools and
be capable of generating publication-quality graphics. There are currently avail-
able several potentially suitable environments, but only one of them—the R lan-
guage (www.r-project.org)—has the advantage of being freely available for all the
main platforms (MS Windows, Mac OS and various dialects of Linux). Moreover,
there already exists an R package GCDkit (www.gcdkit.org)1, containing most of
the required geochemical calculation procedures and graphics. Furthermore , the
underlying code can be easily viewed, modified or extended.
In the realm of geochemical modelling, there does not exist any prescribed sce-
nario. In fact, the modelling strategy not only depends on the geological problem,
but also on the nature of the available data: hence the approach must be adapted
and optimized to each individual case. The purpose of this book is to show, using
many concrete examples, how a researcher can proceed in developing a realistic
model tailored to his questions. It is in this investigative adventure that the authors
of this book invite you. Let’s embark on a scientific journey in the intimacy of
petrogenetic modelling!
Book structure—how to read?
This textbook gives a detailed overview of modelling approaches to petrogenesis
of igneous rocks using whole-rock geochemical data. The theoretical chapters are
followed by their implementation using R/GCDkit, and by numerous exercises,
mostly based on real-life problems.
The text is divided into six parts, and three appendices. Part I gives a short but
comprehensive introduction to R (with, or without GCDkit), the implementation of
simple geochemical computations, calculation of norms, statistical evaluation of
complex data sets, and plotting the most common diagrams. In all cases, the geo-
logical and geochemical backgrounds are briefly discussed. Moreover, a refresher
on radiogenic isotope data interpretation is presented. For newbies, the fundamen-
tals and syntax of the R language are explained in Appendix A, and an introduc-
tion to the GCDkit system is given in Appendix B.
The core of the book (parts II–IV) is dedicated to modelling of the main proc-
esses in igneous petrogenesis using various types of geochemical data. These in-
clude major elements (treated by the concept of mass balance), trace elements
(modelling based on solid/liquid partitioning or saturation concepts) and radio-
genic isotopic data (either constraining open-system processes such as mixing and
assimilation or giving direct information on the source). The principles of forward
and reverse numerical techniques are presented and explained, as is the underlying
mathematical apparatus; the R code necessary for their implementation is also
given. The specific problem of solving sets of linear algebraic equations is outli-
ned in Appendix C.
1 Natively for Windows, but can be run on other platforms with a suitable emulator environment.
Preface vii
Most of the exercises in this book are designed to run in an interactive mode.
To adopt them for batch use, the contents of any variable should be disp-
layed using the functions print or cat (see Appendix A, Sect. 3.1).
The code supplied, obviously, will run only if the current R directory is that in
which the data file(s) reside. The best is probably to save all the needed files in a
directory of your choice and, before starting, set the working directory either from
the GUI (File|Change dir…), or with a command such as:
GCDkit->Rbook.dir<-"C:/user/my_name/Documents/Rbook"2
GCDkit->setwd(Rbook.dir)
This text is based on version 2.13 of R for Windows, 4.0 of GCDkit. It con-
centrates on MS Windows implementation of the R language. Plain R will
run on other systems, including Linux and Mac OS, but the current GCDkit will
require a suitable emulation environment, e.g. Wine on Linux. The code, relying
on GCDkit functions, will be displayed with the namesake prompt, GCDkit->.
Acknowledgements
We would like to thank several people without whom this book would have hardly
originated. First of all Robert Gentleman and Ross Ihaka, as well as members of the
R Development Core Group, for their ideas and sterling efforts in developing the R
language. In particular, Friedrich Leisch (Technische Universität, Vienna) provided
valuable consultations on the development of R packages.
This book builds on hand-outs used for workshops given in Prague and Helsinki
(2011), Stellenbosch, South Africa (2012) and Hyderabad, India (2013) by VJ and
JFM. The authors are indebted to many people without whom these events would
not materialize, especially Tapani Ramö (Helsinki), Gary Stevens (Stellenbosch)
and Santosh Kumar (Nainital, India). VJ is grateful to Graeme Rogers, once
supervisor of his PhD. thesis, who has taught him to ask the basic petrogenetic ques-
tions, why and how much, Francis Albarède for his excellent book and a motivating
course of geochemical modelling and Milan Novák (Brno, Czech Republic) with
František V. Holub (Prague), who requested, in 2000, a practical course on interpre-
tation of geochemical data in R that is running ever since.
GCDkit originated during a post-doctoral stay of VJ at University of Salzburg
(FWF Project 15133–GEO to F. Finger). The work was, over the years, supported
by several projects from the Czech Grant Agency (GACR), Czech Geological
Survey (3314, 336200) and Ministry of Education of the Czech Republic
(LK11202 to K. Schulmann). The scientific exchanges were facilitated by the
French–Czech programme Mobility 7AMB13FR026.
Régis Doucelance (Clermont-Ferrand, France) brought to our attention a great
reverse mixing hyperbola example from Martinique, and other papers on mantle
geochemistry that escaped our attention. Nice photos were contributed by Gerhard
Wörner (Göttingen, Germany), Christian Nicollet (Clermont-Ferrand), Ewa Słaby
(Warsaw, Poland) and S. Hidalgo (Quito, Ecuador). Didier Laporte (Clermont-
Ferrand) supplied an original version of his figure on wetting angles (Fig. 24.1).
Leon Bagas (Crawley, Australia) provided dataset for the anomaly plot.
Oscar Laurent (Liège, Belgium) and Arnaud Villaros (Orléans, France)—in
addition to always being pleasant company—are responsible for many good ideas
and suggestions, which eventually helped to develop the existing code. We are also
grateful to the many students and GCDkit users, whose requests, in the course of
time, led to more software development, clever ideas and debugging.
We are thankful to people from Springer, Annett Buettner, Ulrike Stricker and
Chris Bendall, for their hard work and patience with which they have guided us
through the dire straits of preparing and publishing this monograph. The Czech
brewing industry was a source of inspiration during late-night coding sessions.
In Prague, St. Etienne, Clermont-Ferrand and Glasgow, Christmas 2014
‘Warning’
Pointers and additional information opening new prospects (not dealt with in this
text) are labelled as:
‘Next step’
ix
x Typographic Conventions
Broken, continuing lines of code have a plus sign as a prompt and are indented:
GCDkit-> plot(WR[,"SiO2"),
+ pch="*",col="khaki")
In Part VI and Appendix A, commented chunks of R code, often just outlined and
not complete, are displayed as “code boxes”:
We create Harker plots (Fig. 25.3) using Plot|Multiple plots…, i.e. the command:
GCDkit-> multiple("SiO2","Al2O3,Fe2O3,MgO,CaO,Na2O,K2O")
Names for R objects and file names, occurring in the text, are also set in a non-
proportional font:
… factor silica from the previous exercise …
Comments in the code start with the hash mark (“#”):
# Fig. 4.2.1
Names of mathematical variables and Menu items are type set in italics,
e.g. Misc|Stop current computation, indicating an item ‘Stop current computation’
of the ‘Misc’ menu.
Equations in the text are numbered sequentially, starting with the chapter number:
C0
CL (5.1)
D F (1 D)
The same applies to figures, tables, or exercises. Otherwise, the first number of
figures or tables is that of the relevant Appendix; the second refers to a se-
quence there in (Fig. A1.2; Table A3.5).
Matrices are named with a bold italics letter topped by a double bar. When pre-
sented in full, they are enclosed in brackets:
§ CPlSiO2 SiO2
COpx } CnSiO2 ·
¨ TiO2 ¸
¨ CPl
TiO2
COpx } CnTiO2 ¸
C
¨ # # % # ¸
¨¨ P2O5 ¸
© CPl
P2O5
COpx } CnP2O5 ¸¹
Vectors are written in a similar way, but their symbol has a single arrow:
§ mPl ·
JJG ¨ ¸
m ¨ mOpx ¸
¨ # ¸
¨ ¸
© mn ¹
Typographic Conventions xi
Equation systems are linked together by a single curly brace to their left:
SiO2 n
° CS ¦( m Ci i
SiO2
)
° i 1
° TiO2 n
° CS
®
¦( m C
i 1
i
TiO2
i )
° }
°
° P2O5 n
°CS
¯
¦( m C
i 1
i i
P2O5
)
Variables and Symbols
This book uses, as much as possible, a consistent set of symbols to represent vari-
ables of geochemical interest both in the text and in the accompanying R code.
The following is a summary of the main symbols used. Often, a series of similar
variables exists for a range of elements, minerals or portions of a system: this is
indicated by subscripts and superscripts.
General
F Melt fraction: F WL W0 ff
FC Degree of crystallization: FC 1 F WS W0 fc
3 Some equations discussed in the text are not implemented in the R code.
xiii
xiv Variables and Symbols
Mixing
Element partitioning
CSD n
¦m K D i /L dd
DD DD
CLD i D
i dd[elt]
dd[j]
Often just D in text when the meaning is unambiguous
AFC
Radiogenic isotopes
SA Sample
DM Depleted Mantle
CC Average Crust
CHUR Chondritic Uniform Reservoir
0 Present-day
i Initial
t At the time t
It is not always possible to use the same conventions for printed text and R
variables. For instance, mixed case variables (both upper and lower case)
are dangerous in R, because it is case sensitive. Therefore, we use lower case in
(most) R variable names. Furthermore, many single-letter symbols are reserved
words: for instance c, D and t refer to common R functions (see Appendix A),
whereas T and F are shorthand notations for logical TRUE and FALSE. For this rea-
son, the commonly used F (melt fraction) and D (bulk distribution coefficient) are
represented by ff and dd in our R code. Note also that the suffix used to indicate
the source/parental magma is the number 0, not the letter O!
List of Abbreviations
xvii
Abbreviations of Mineral Names
Ab Albite
All Allanite
Amp Amphibole
An Anorthite
Ap Apatite
Bt Biotite
Cpx Clinopyroxene
Crd Cordierite
Di Diopside
En Enstatite
Fo Forsterite
Grt Garnet
Hbl Hornblende
Ilm Ilmenite
Kfs Potassium feldspar
Mnz Monazite
Ms Muscovite
Mt Magnetite
Ol Olivine
Opx Orthopyroxene
Phl Phlogopite
Pl Plagioclase
Qtz Quartz
Rt Rutile
Sil Sillimanite
Spl Spinel
Zrn Zircon
Reference
Kretz R (1983) Symbols for rock-forming minerals. Amer Miner 68:277-279.
xix
Contents
1 Introduction...................................................................................................... 1
1.1 Causes of Whole-Rock Chemical Variation in Igneous Suites .............. 1
1.2 Conventional Software for Igneous Geochemistry................................. 3
1.2.1 Spreadsheets ............................................................................. 3
1.2.2 Dedicated Programs (PC Compatibles) .................................... 4
1.3 A Revolution? The R Language ............................................................. 4
1.3.1 What is R? ................................................................................ 4
1.3.2 Geochemical Data Toolkit (GCDkit) ....................................... 5
References..........................................................................................................6
xxi
xxii Contents
2 Graphics........................................................................................................ 295
2.1 Obtaining and Annotating Binary Plots .............................................. 295
2.2 Additional High-Level Plotting Functions ......................................... 302
2.3 Creating Custom Layouts and Axes ................................................... 305
2.4 Exporting Graphs from R and Graphical Devices .............................. 308
2.5 Interaction with Plots.......................................................................... 308
3 Programming in R.........................................................................................309
3.1 Input and Output................................................................................. 309
3.2 Conditional Execution ........................................................................ 310
3.3 Loops.................................................................................................. 310
3.4 User-Defined Functions...................................................................... 311
3.4.1 Arguments to Functions........................................................311
3.4.2 Assignments in Functions ....................................................312
3.5 An Alternative to Loops—sapply . ...................................................... 313
References........ .............................................................................................. 313
Very soon after the birth of igneous geochemistry, geologists like Alfred Harker
(Harker 1909) recognized the existence of igneous rock “series”, i.e. rock suites
sharing common geochemical features and having progressively changing compo-
sitions. Such variation was, and still frequently is, ascribed to evolution by frac-
tional crystallization at depth, in a putative magma chamber. Research over the
following century, however, has demonstrated that the chemistry of magmatic
suites may in fact be shaped by many contrasting petrogenetic processes. Geo-
chemistry, especially in combination with petrology, represents a powerful tool for
deciphering and parameterizing of such processes.
development. Thus, the evolution is not linear, but it can take different directions
in response to the changes in physico–chemical parameters and, in turn, of mineral
chemistry of crystallizing assemblages.
It was about the same time that a second approach, exemplified by Harker
(1909) was developed based on interpretation of whole-rock compositions. This
author came up with the concept of a variation diagram, plotting oxides of major
elements against an “index of differentiation”. Harker’s suggestion to use SiO2 as
a differentiation index was ground-breaking at the time and marked the dawn of
modern geochemistry. He showed that when the bulk composition of rocks be-
longing to the same petrographic province, or even a single volcanic (or plutonic)
complex, are plotted in such variation diagrams, they define more or less continu-
ous evolutionary trends (Fig. 1.1). Harker proposed to interpret these trends in
terms of magmatic differentiation, directly correlated to the nature of the crystal-
lizing mineral phases.
Fig. 1.1 An example of early depiction of differentiation trends in binary plots of silica vs.
major-element oxides, for the volcanic rocks from Lassen Peak (California) (Harker 1909).
These later became known as the Harker plots.
Even though both these approaches have been an important step forward, they
have for long remained essentially descriptive, or qualitative at best. The first at-
tempts on quantifying and modeling the behaviour of trace elements in magmas
date back to the late 1960’s (Gast 1968; Shaw 1970). Similarly, even if the chemi-
cal fractionation laws had been long known for gases (Rayleigh 1896), it was only
at this same period that they were invoked to model the fractionation of crystalliz-
ing magmatic liquids (Neumann et al. 1954; Greenland 1970; Albarède and
Bottinga 1972). Also the analysis of mineral chemistry was revolutionized by the
appearance of the first commercially available electron microprobes (Castaing
1951). Lastly, the prestigious lunar program in the 1960’s required precise and ac-
curate chemical, and then isotopic, analyses of small samples, leading to innova-
tions (Johnson et al. 2013).
1.1 Causes of Whole-Rock Chemical Variation in Igneous Suites 3
With the modern analytical techniques has inevitably arrived a flood of precise
geochemical data on major- and trace elements, as well as a seemingly endless
number of isotope systems. This technical progress goes hand in hand with the in-
creasing accessibility of data over the Internet, in the form of online publications,
their supplementary datasets, or web-based databases such as EarthChem
(www.earthchem.org) or GeoRoc (georoc.mpch-mainz.gwdg.de/georoc).
Quick and efficient handling of such large datasets represents a true challenge
in modern geochemistry. This is routinely achieved by personal computers, also
enabling the calculation of rather complicated thermodynamic and petrogenetic
models in the comfort of one’s own office.
1.2.1 Spreadsheets
The most accessible and generally available are the spreadsheets. They belong to
basic software preloaded on many computers, thus requiring no extra costs. Even
though relatively easy to use, they are not very suitable for geochemical calcula-
tions. Dedicated geochemical tools, mostly designed for Microsoft Excel aided by
VBA macros, are rather scarce, and their functionality rudimentary (Sidder 1994;
Su et al. 2003; Zhou and Li 2006; Wang et al. 2008) even though some more so-
phisticated tools for petrogenetic modelling are also available (Ersoy 2013; Keskin
2013). Moreover, spreadsheets endure low efficiency for repeated tasks as well as
limited protection of the primary data; for more complicated calculations the
4 1 Introduction
worksheet becomes too complex and prone to errors. The graphical output is poor
and requires much tweaking to become truly of publication quality. In our view,
spreadsheets are useful only for organization of the data (although databases are
superior for the task) and production of tables for final publication.
Clearly the best approach to many problems outlined above would be to write our
own software. But we suggest that it would not be wise to develop it from scratch;
much better is to employ a comprehensive computing environment such as
Mathematica or Matlab, with a built-in computational, graphical and input/output
functionality. However, also these packages are commercial, hindering the distri-
bution of any product to potential users, especially in economically challenged
countries.
1.3.1 What is R?
Fortunately, with the appearance of the R language at the turn of millennium, we
now have a powerful, yet simple and free, open-source toolbox, ideal for devel-
opment of geochemical packages. Put in simple terms, R is an environment for
efficient data processing, their visualization and statistical analysis as well as a
1
Apart from thermodynamic software, dealt with in one of the Next step boxes in Chap. 22.
1.3 A Revolution? The R Language 5
References
Moro AL (1740) De crostacei e degli altri marini corpi che si truovano su’ monti. Appresso
Stefano Monti, Venezia
Neumann H, Mead J, Vitaliano CJ (1954) Trace element variation during fractional crystalliza-
tion as calculated from the distribution law. Geochim Cosmochim Acta 6:90–99
Oldham RD (1906) The constitution of the interior of the Earth, as revealed by earthquakes. Q J
Geol Soc Lond 62:456–475
Petrelli M, Poli G, Perugini D, Peccerillo A (2005) PetroGraph: a new software to visualize,
model, and present geochemical data in igneous petrology. Geochem Geophys Geosyst 6:
Q07011
Potts PJ (1987) A Handbook of silicate rock analysis. Blackie & Son Ltd., Glasgow and London
Rayleigh L (1896) Theoretical considerations respecting the separation of gases by diffusion and
similar processes. Philosophical Magazine Series 5 42:493–498
Richard LR (1995) MinPet: mineralogical and petrological data processing system, version 2.02.
MinPet Geological Software, Québec, Canada
Rollinson HR (1993) Using geochemical data: evaluation, presentation, interpretation. Longman,
London
Shaw DM (1970) Trace element fractionation during anatexis. Geochim Cosmochim Acta
34:237–243
Shaw DM (2006) Trace elements in magmas. A theoretical treatment. Cambridge University
Press, Cambridge
Sidder GB (1994) Petro.calc.plot, Microsoft Excel macros to aid petrologic interpretation.
Comput and Geosci 20:1041–1061
Su YJ, Langmuir CH, Asimow PD (2003) PetroPlot: A plotting and data management tool set for
Microsoft Excel. Geochem Geophys Geosyst 4:1030, doi:10.1029/2002GC000323
Sylvester P (ed) (2001) Laser ablation-ICPMS in the Earth sciences: principles and applications.
Mineralogical Association of Canada Short Course Series, vol 29
Wang X, Ma W, Gao S, Ke L (2008) GCDPlot: An extensible Microsoft Excel VBA program for
geochemical discrimination diagrams. Comput and Geosci 34:1964–1969
Zhou J, Li X (2006) GeoPlot: an Excel VBA program for geochemical data plotting. Comput and
Geosci 32:554–560
Part I R/GCDkit at Work
In this section we will demonstrate practical use of the R language to solve com-
mon problems in igneous geochemistry. The text usually starts with a brief discus-
sion of the geological background, followed by a R code (see Appendix A for an
overview of R syntax) and its equivalent (or more elegant -) solution in GCDkit
(for introduction to the system or for reference, see Appendix B).
Chapter 2
Data Manipulation and Simple Calculations
When starting a new session in R, with or without GCDkit, the first task is to im-
port data. In plain R, tabular data, common in igneous geochemistry, can be
loaded most conveniently by the read.table command. The other possibility is
to access one of the built-in datasets using the data command. In GCDkit the
analyses are usually read by the loadData function, or copied from any Windows
application (such as a spreadsheet) via the clipboard.
Seldom are all the values available for all the samples. There are two types of
missing data: concentrations below the detection limit and those not determined.
If statistical evaluation is desired, especially by multivariate methods, information
that elemental concentration is lower than a certain threshold fundamentally dif-
fers from the situation when it is completely unknown and can attain any value.
One of the available strategies to deal with the first case (Rock 1988; van den
Bogaard and Tolosana-Delgado 2013) is to replace the data below the detection
limit by its half (Reimann et al. 2008). Clearly, thus estimated values should not
represent a high proportion of the given variable. Regarding the not analyzed data,
the R language has facilities to handle appropriately any completely missing values
(denoted NA), e.g. during plotting or mean calculations.
Once data are loaded, the most common tasks include display, subsetting (mod-
est database functionality) and simple arithmetics. Below we are going to practice
such skills on vectors and data frames, the most common data types.
GCDkit contains several built-in datasets, normally needed just for correct system
functioning. One of these is atomic weights, stored in the named vector mw. We
will use it to show some simple vector operations.
a) Display the whole vector. What is the atomic weight of Rb?
b) What is the average value of the whole vector?
c) Which atoms have the atomic weight higher than 170?
d) Display the names of six lightest and six heaviest elements in the dataset.
a) GCDkit-> mw
Ag Al As Au B Ba
107.86820 26.98154 74.92160 196.96650 10.81100 137.33000
Be Bi Br C Ca Cd
9.01218 208.98040 79.90400 12.01100 40.07800 112.41000 …
GCDkit-> mw["Rb"]
Rb
85.4678
b) GCDkit-> mean(mw)
[1] 107.9206
c) GCDkit-> names(mw)[mw>170]
[1] "Au" "Bi" "Hf" "Hg" "Ir" "Lu" "Np" "Os" "Pb" "Pt" "Pu"
[12] "Re" "Ta" "Th" "Tl" "U" "W" "Yb"
d) GCDkit-> sort(mw)[1:6]
H Li Be B C N
1.00797 6.94100 9.01218 10.81100 12.01100 14.00670
GCDkit-> rev(sort(mw))[1:6]
Pu U Np Th Bi Pb
244.0640 238.0290 237.0482 232.0381 208.9804 207.2000
The file sazava.data contains selected major- and trace-element analyses from
the ~354 Ma old Sázava suite of the Central Bohemian Plutonic Complex (CBPC;
Bohemian Massif, Czech Republic) (Janoušek et al. 2000, 2004).
a) Read analyses stored in the tab-delimited data file into a data frame WR.
b) Find out the names of available variables (= column names).
c) What is the MgO content of sample Sa-1?
d) Show all available numeric data for samples Po-1 and Po-4.
e) Calculate the total of the column “Na2O”.
f) Display names of three samples with the lowest and the highest SiO2 contents.
g) Calculate averages of all variables.
h) Display a table with three columns: SiO2, MgO and Na2O/K2O.
sazava.data
b) > colnames(sazava)
[1] "Intrusion" "Locality" "Petrology" "Outcrop"
[5] "Symbol" "Colour" "SiO2" "TiO2"
[9] "Al2O3" "FeO" "Fe2O3" "MnO"…
c) > sazava["Sa-1","MgO"]
[1] 3.21
d) > sazava <- sazava[,-(1:6)] # Stripping 1st six columns
> sazava[c("Po-1","Po-4"),]
SiO2 TiO2 Al2O3 FeO Fe2O3 MnO MgO CaO Na2O K2O
Po-1 62.95 0.28 20.02 1.65 0.67 0.05 0.55 6.61 3.91 1.99
Po-4 71.09 0.30 15.09 2.12 0.38 0.06 0.52 3.75 3.68 1.87 …
e) > sum(sazava[,"Na2O"])
[1] 39.13
g) > apply(sazava,2,mean,na.rm=TRUE)
SiO2 TiO2 Al2O3 FeO
57.95285714 0.63928571 16.94285714 4.73071429
Fe2O3 MnO MgO CaO
1.74642857 0.13785714 3.57000000 8.16000000 …
1
Caution, two variables will be created in this case. WR will contain only the numeric values, all
textual information will be transferred into data frame labels. See Appendix B for details.
14 2 Data Manipulation and Simple Calculations
MgO
mg # 100 [mol. %] (2.2)
FeO MgO
MgO
Mg # 100 [mol. %] (2.3)
FeOt MgO
Many major-element based diagrams are constructed using some conversion of
wt. % oxides into cation numbers; this allows easy comparison with mineral for-
mulae. For instance, the popular alumina saturation index, A/CNK (Shand 1943)
(sometimes also abbreviated as ASI) mimics the stoichiometry of feldspars:
Al2O3
A/CNK [mol. %] (2.4)
CaO Na2O K 2O
A similar index, distinguishing peralkaline rocks (with excess alkalis), is:
Al2O3
A /NK [mol. %] (2.5)
Na2O K 2O
If A/CNK > 1, there is excess Al over the amount needed to form feldspars. Such <
rocks are termed peraluminous, while those with A/CNK < 1 and A/NK 1 are
metaluminous and those with A/CNK ~ 1 subaluminous (Shand 1943). The
A/CNK value has a direct link to modal mineralogy—presence of Ca- and/or al-
kali-rich phases such as amphiboles and pyroxenes indicates an Al deficit and the
host rock is metaluminous. Biotite is weakly peraluminous and thus its occurrence
points to weakly peraluminous nature of the rock (Miller 1985). Strongly peralu-
minous granitoids (sensu Miller 1985) contain additional more peraluminous
phases like muscovite, or even alumosilicates (kyanite, sillimanite or andalusite),
cordierite, garnet, tourmaline, topaz or corundum (Clarke 1981). However, the
2
The Fe numbers (Frost et al. 2001; Frost and Frost 2008) are defined analogously.
2.2 Linking Whole-Rock Chemistry with Mineral Stoichiometry 15
sazava.data
3
NB that GCDkit does not perform this correction.
4
See GCDkit help to the function Frost.
16 2 Data Manipulation and Simple Calculations
> x
mg.no A/CNK A/NK
Sa-1 51.16987 0.8355806 2.396569
Sa-2 55.42955 0.7619109 2.307463
Sa-3 51.92059 0.8079150 2.562820 …
CD
milliD nD u u 1000 (2.6)
MWD
where MWD is molecular weight and nD number of atoms in the oxide formula (e.g.,
the later is 1 for CaO, 2 for Na2O, and again 2 for Al2O 3). Note that even if the original
2.2 Linking Whole-Rock Chemistry with Mineral Stoichiometry 17
analyses (wt. % oxides) did sum up to 100, there is no reason for the total millica-
tions to attain a specific value. For some applications (e.g. zircon saturation, Sect.
13.1.1) it is required to normalize this total to 1.
For classification purposes, De La Roche et al. (1980) used a projection of two
parameters, R1 = 4Si – 11(Na + K) – 2(Fe + Ti) and R2 = 6Ca + 2Mg + Al, thus incor-
porating all major-element oxides. Besides that, the R1–R2 plot has petrogenetic
and geotectonic implications (Batchelor and Bowden 1985).
In the complex classification system of Debon and Le Fort (1983, 1988), ar-
guably the most useful parameters are A = Al – (K + Na + 2Ca) (reflecting peralu-
minosity), B = Fe + Mg + Ti (maficity), P = K – (Na + Ca) (proportion of K-feldspar
among feldspars) and Q = Si/3 – (K + Na + 2Ca/3) (quartz content).
2.3 Statistics
Early in the interpretation of a newly acquired geochemical dataset it is handy to
examine descriptive statistics for selected elements or oxides. R contains a pleth-
ora of statistical tools, either built in, or provided as additional modules (pack-
ages). At this stage, however, simple functions such as mean, median, sd (stan-
dard deviation) and summary (a statistical overview) suffice. Revealing are also
simple graphical tools such as boxplots (box-and-whiskers plots; function
boxplot) and histograms (hist). Scatter matrices (pairs) serve to spot poten-
tially significant correlations. See Appendix B for syntax and further details; the
specific problem of dealing with a more complex data set containing several
groups of data (using factors) is dedicated to Section 2.4.
Statistics in GCDkit
The command line interface of the standard R environment on the one
hand allows much control for experienced users but on the other tends to
discourage many scientists, accustomed to menu-driven software. GCDkit builds
on the diverse functionality of the R language by providing a graphical user inter-
face (GUI) to at least some of the most commonly used statistical functions, in-
cluding simple descriptive statistics, histograms, boxplots, strip plots, correlation
diagrams as well as more sophisticated methods of multivariate statistics (such as
hierarchical clustering and principal components analysis). This interface is ac-
cessible from the menu Calculations|Statistics. Nevertheless the R-Console is still
available for standard commands.
The more sophisticated tools are beyond the scope of the current text and the in-
terested reader is referred to R/S documentation or special publications (e.g.,
Chambers and Hastie 1992; Venables and Ripley 1999; Maindonald and Braun
2003; Reimann et al. 2008; van den Bogaard and Tolosana-Delgado 2013).
sazava.data
70
SiO2
60
50
550
2 4 6 8
MgO
500
12
CaO
ppm
8
450
4
3.0
Na2O
400
2.0
350
2.0
K2O 1.0
300
0.25
P2O5
0.05
50 60 70 4 8 12 1.0 2.0
Sr
Fig. 2.1 a Boxplot of Sr distribution in the Sázava dataset (Exercise 2.4). b Scatterplot ma-
trix for selected major-element oxides, plotted using the function pairs.
Imagine that the studied plutonic complex consists of several igneous suites. Then
whole-rock analysis for each sample can be accompanied by an indication as to
which suite it belongs. A factor collecting this classification information enables,
for instance, calculating an average A/CNK value for each of the suites separately.
We should first demonstrate the definition of factors and then use them for in-
creasingly difficult statistical and classification tasks.
20 2 Data Manipulation and Simple Calculations
a) For the Sázava dataset define a factor intrusion based on the specification
given in the column ‘Intrusion’ that splits the suite into three groups: basic
(quartz diorites to Amp gabbros of numerous smaller bodies), Sazava (Sázava
intrusion proper: mainly Amp–Bt tonalites to quartz diorites) and Pozary
(Požáry trondhjemite).
b) Display all possible values (levels) of this factor.
c) Using the factor intrusion, calculate the mean SiO2 contents for each of the
rock groups in the Sázava dataset.
d) Analogously, calculate the mean concentrations of Ba.
sazava.data
b) > levels(intrusion)
[1] "basic" "Pozary" "Sazava"
c) > tapply(sazava[,"SiO2"],intrusion,mean)
basic Pozary Sazava
51.778 68.440 55.738
d) > tapply(sazava[,"Ba"],intrusion,mean)
basic Pozary Sazava
NA 1291.25 NA
In the last command, two of three groups gave NA because there are some missing
values present:
> tapply(sazava[,"Ba"],intrusion,is.na)
$basic
[1] FALSE FALSE TRUE FALSE FALSE
$Pozary
[1] FALSE FALSE FALSE FALSE
2.4 Classification and Grouping—Using Factors 21
$Sazava
[1] FALSE FALSE TRUE FALSE FALSE
If the missing values are to be ignored and the mean for the remaining analyses
calculated, we can pass the parameter na.rm=TRUE to the function mean:
> tapply(sazava[,"Ba"],intrusion,mean,na.rm=TRUE)
basic Pozary Sazava
676.25 1291.25 682.25
The R language provides additional, arguably even more powerful tools. For in-
stance, aggregate applies a given function to each of the variables (i.e., columns) of
a numeric matrix or data frame x respecting grouping (defined by a factor or list of
factors). Analogous is the function by, which splits a data frame into several
smaller ones based on a factor (or list of factors).
a) Utilizing the function summary, calculate basic statistical parameters for SiO2
distribution in each of the rock groups of the Sázava suite (factor intrusion).
b) What are the means for selected trace elements (Ba, Rb, Sr and Zr) in individ-
ual intrusions?
c) Using the function by, print basic statistical summaries for major-element ox-
ides in each of the rock groups.
sazava.data
a) > tapply(sazava[,"SiO2"],intrusion,summary)
$basic
Min. 1st Qu. Median Mean 3rd Qu. Max.
48.84 49.63 51.72 51.78 52.90 55.80
$Pozary
Min. 1st Qu. Median Mean 3rd Qu. Max.
62.95 66.96 69.69 68.44 71.17 71.42
$Sazava
Min. 1st Qu. Median Mean 3rd Qu. Max.
50.72 55.09 55.17 55.74 57.73 59.98
c) > by(sazava[,7:17],list(Rock=intrusion),summary)
Rock: basic
SiO2 TiO2 Al2O3
Min. :48.84 Min. :0.340 Min. :13.34
1st Qu.:49.63 1st Qu.:0.670 1st Qu.:14.17 … etc.
Groups in GCDkit
GCDkit allows each of the samples to be assigned to a group and these
groups are subsequently utilised by statistical and plotting functions.
Groups can be defined on the basis of a single label, a value of a nu-
merical variable, position in classification diagram (e.g., TAS) or cluster analysis.
In command line mode or a batch file it is simplest to use the GCDkit function
groupsByLabel. The information regarding current grouping is stored in a vector
groups; default grouping after loading a new data file or selecting a subset is on
plotting symbol.
# GCDkit solution
GCDkit-> loadData("sazava.data")
GCDkit-> groupsByLabel("Intrusion")
Sa-1 Sa-2 Sa-3 Sa-4 Sa-7 SaD-1
"Sazava" "Sazava" "Sazava" "Sazava" "Sazava" "basic"…
Assigned groups:
basic Pozary Sazava
5 4 5
GCDkit-> summaryByGroup(major)
x Classify samples in the Sázava set according to SiO2 contents (wt. %) in four
groups, U (< 45), B (45–52), I (52–63) and A (> 63).
sazava.data
# GCDkit solution
GCDkit-> loadData("sazava.data")
GCDkit-> cutMy("SiO2",c(0,45,52,63,100), c("U","B","I","A"))
SiO2 Interval
Sa-1 59.98 I
Sa-2 55.17 I
Sa-3 55.09 I
Sa-4 50.72 B
Sa-7 57.73 I …
a) Using the factor intrusion, count the number of analyses obtained from each
of the rock groups in the Sázava dataset.
b) Analogously, count the number of ultrabasic, basic, intermediate and acid
rocks (factor silica from the previous exercise).
c) Set up a frequency table showing the dependence of silica on the rock type.
sazava.data
b) > table(silica)
silica
U B I A
0 4 7 3
c) > table(intrusion,silica)
silica
intrusion U B I A
basic 0 3 2 0
Pozary 0 0 1 3
Sazava 0 1 4 0
References
Batchelor RA, Bowden P (1985) Petrogenetic interpretation of granitoid rock series using multi-
cationic parameters. Chem Geol 48:43–55
Chambers JM, Hastie TJ (1992) Statistical models in S. Chapman & Hall, London
Clarke DB (1981) The mineralogy of peraluminous granites; a review. Canad Mineral 19:3–17
Cross W, Iddings JP, Pirsson LV, Washington HS (1902) A quantitative chemico-mineralogical
classification and nomenclature of igneous rocks. J Geol 10:555–690
De La Roche H, Leterrier J, Grandclaude P, Marchal M (1980) A classification of volcanic and
plutonic rocks using R1R2–diagram and major element analyses—its relationships with cur-
rent nomenclature. Chem Geol 29:183–210
Debon F, Le Fort P (1983) A chemical-mineralogical classification of common plutonic rocks
and associations. Trans Roy Soc Edinb, Earth Sci 73:135–149
Debon F, Le Fort P (1988) A cationic classification of common plutonic rocks and their mag-
matic associations: principles, method, applications. Bull Minéral 111:493–510
Frost BR, Frost CD (2008) A geochemical classification for feldspathic igneous rocks. J Petrol
49:1955–1969
Frost BR, Barnes CG, Collins WJ, Arculus RJ, Ellis DJ, Frost CD (2001) A geochemical classifi-
cation for granitic rocks. J Petrol 42:2033–2048
References 25
Hutchison CS (1974) Laboratory handbook of petrographic techniques. John Wiley & Sons, New
York
Hutchison CS (1975) The norm, its variations, their calculation and relationships. Schweiz min-
eral petrogr Mitt 55:243–256
Janoušek V (2001) Norman, a QuickBasic programme for petrochemical re-calculation of whole-
rock major-element analyses on IBM PC. J Czech Geol Soc 46:9–13
Janoušek V, Bowes DR, Rogers G, Farrow CM, Jelínek E (2000) Modelling diverse processes in
the petrogenesis of a composite batholith: the Central Bohemian Pluton, Central European
Hercynides. J Petrol 41:511–543
Janoušek V, Braithwaite CJR, Bowes DR, Gerdes A (2004) Magma-mixing in the genesis of
Hercynian calc-alkaline granitoids: an integrated petrographic and geochemical study of the
Sázava intrusion, Central Bohemian Pluton, Czech Republic. Lithos 78:67–99
Le Bas MJ, Le Maitre RW, Streckeisen A, Zanettin B (1986) A chemical classification of vol-
canic rocks based on the total alkali-silica diagram. J Petrol 27:745–750
Le Maitre RW (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, Cambridge
Maindonald J, Braun J (2003) Data analysis and graphics using R. Cambridge University Press,
Cambridge
Mielke P, Winkler HGF (1979) Eine bessere Berechnung der Mesonorm für granitische Gesteine.
Neu Jb Mineral, Mh 471–480
Miller CF (1985) Are strongly peraluminous magmas derived from pelitic sources? J Geol
93:673–689
Niggli P (1948) Gesteine und Minerallagerstätten. Birkhäuser, Basel
Reimann C, Filzmoser P, Garrett R, Dutter R (2008) Statistical data analysis explained: applied
environmental statistics with R. John Wiley & Sons, Chichester
Rock NMS (1988) Numerical geology. A source guide, glossary and selective bibliography
to geological uses of computers and statistics. Lecture Notes in Earth Sciences, vol 18.
Springer, Berlin
Shand SJ (1943) Eruptive rocks. Their genesis, composition, classification, and their relation to
ore-deposits with a chapter on meteorite. John Wiley & Sons, New York
van den Bogaard P, Tolosana-Delgado R (2013) Analyzing compositional data with R. Springer,
Berlin
Venables WN, Ripley BD (1999) Modern applied statistics with S-Plus. Springer, Berlin
Verma SP, Torres-Alvarado IS, Sotelo-Rodriguez ZT (2002) SINCLAS: standard igneous norm
and volcanic rock classification system. Comput and Geosci 28:711–715
Verma SP, Torres-Alvarado IS, Velasco-Tapia F (2003) A revised CIPW norm. Schweiz mineral
petrogr Mitt 83:197–216
Villaseca C, Barbero L, Herreros V (1998) A re-examination of the typology of peraluminous
granite types in intracontinental orogenic belts. Trans Roy Soc Edinb, Earth Sci 89:113–119
Chapter 3
Classical Plots
In this chapter, R recipes are presented to produce the most common graphs used
in igneous geochemistry, such as binary plots (simple and multiple, e.g. Harker
plots), ternary plots, spiderplots, classification and geotectonic diagrams. Espe-
cially for the latter two types, the text does not intend to be exhaustive. A compre-
hensive review can be found in Rollinson (1993) and in documentation/help to the
GCDkit package (especially the file diagrams.pdf).
The most common graph used in igneous geochemistry is a binary plot of two
variables, linear or logarithmic. Often, as x axis serves some fractionation index,
i.e. a chemical species mimicking the progressive development of the igneous
suite studied (e.g., SiO2 for felsic, and MgO or mg# for mafic rock associations).
sazava.data
a) > plot(sazava[,"SiO2"],sazava[,"CaO"],cex=1.2,
+ xlab=expression(SiO[2]),ylab="CaO",
+ pch=sazava[,"Symbol"], xlim=c(49,75),ylim=c(0,15))
> text(sazava[,"SiO2"],sazava[,"CaO"],rownames(sazava),
+ pos=4,cex=0.7)
b) > abline(0,0.1)
c) > plot(sazava[,"Zr"],sazava[,"Ba"],xlab="Zr",ylab="Ba",
+ pch=15,cex=1.5,log="xy")
> lq <- lm(log10(sazava[,"Ba"])~log10(sazava[,"Zr"]))
> # lq is an arbitary variable name
> # note the logarithms of the base 10 in the formula
> lq
Call:
lm(formula = log10(sazava[, "Ba"]) ~ log10(sazava[, "Zr"]))
Coefficients:
(Intercept) log10(sazava[, "Zr"])
1.1994 0.8847
> abline(lq,lty=2,lwd=2,col="darkgreen")
1600
15
Gbs- 1
Gbs- 2
1200
Gbs- 20
10
800
Sa- 4
SaD- 1
Sa- 2
CaO
Sa- 3
600
Ba
Sa- 7
Gbs- 3 Sa- 1
Po- 1
5
400
Po- 3 Po- 4
Po- 5
0
50 55 60 65 70 75 50 100 150
SiO2 Zr
Fig. 3.1 Binary plots from the Sázava dataset (Exercise 3.1). On the right is displayed the linear
regression computed using the function lm and plotted by the function abline.
1
NB that the argument to figUser is a single text string. Thus any quotation marks therein
have to be preceded by an escape character, i.e. the backslash.
30 3 Classical Plots
oxide
oxide* 100 u
100 SiO2
(3.1)
40
60
a b
SiO2 + Al 2O3 > 100%
50
ʻForbidden zone’
30
40
Al2O3∗
Al2O3
20
30
20
10
100 ´ Al 2O3
Al 2O3 * =
10
100 - SiO2
0
50 60 70 80 90 100 50 60 70 80 90 100
SiO2 SiO2
Fig. 3.2 Derivation of an oxide* diagram for the Sázava dataset. a Alumina plotted in wt. %.
Note the “Forbidden zone”, approached by the trend as differentiation progresses, meaning that
Al2O3 becomes an increasingly important part of the “non-silica” portion of the rock. This is un-
derlined by the sharp increase in Al2O3* (b).
3.1 Binary Plots 31
Another possibility is to measure the distance between the analyses and a refer-
ence trend at the same SiO2 contents. Liégeois et al. (1998) invoked sliding nor-
malization against a reference series fitted by a second-order polynomial. Moyen
et al. (2009) defined a parameter ', a distance from a reference line in the Harker
plot. Another classic numerical remedy is log-ratio transformations (Aitchison
1986). See Reimann et al. (2008) with van den Bogaard and Tolosana-Delgado
(2013) for details and van den Boogaart and Tolosana-Delgado (2008) for R im-
plementation.
One of the most useful, most commonly employed and at the same time most
questioned graphs in igneous geochemistry are the Harker plots, i.e. binary plots
of silica versus major-element oxides.
x Using a loop and function par(mfrow), write a short program that would plot
six binary plots of SiO2 vs. major-element oxides of your choice.
sazava.data
> windows(width=8,height=6)
> par(mfrow=c(2,3))
> lab <- c("Al[2]*O[3]","MgO","CaO","Na[2]*O","K[2]*O",
+ "P[2]*O[5]")
> for(f in 1:length(ee)){
> plot(sazava[,"SiO2"],sazava[,ee[f]],
+ xlab=expression(SiO[2]),
+ ylab=parse(text=as.expression(lab[f])),
+ pch=sazava[,"Symbol"],cex=1.5)
> }
32 3 Classical Plots
14
8
20
12
6
10
18
Al2O3
MgO
CaO
4
8
16
6
2
14
4
50 55 60 65 70 50 55 60 65 70 50 55 60 65 70
2.0
3.0
Na2O
P2O5
K 2O
1.5
2.5
2.0
1.0
50 55 60 65 70 50 55 60 65 70 50 55 60 65 70
Fig. 3.3 Selected Harker plots from the Sázava dataset (Exercise 3.2).
Ternary plots rank among important and widely used geochemical tools. Setting
the sides of the triangle to equating a unity, its vertices (bottom-left, top, and bot-
tom-right) have [x,y] coordinates of A[0,0], B[0.5, 3/2 ] and C[1,0]. The
ternary coordinates [a,b,c] of a data point X can be transformed to binary ones
[x,y] (Fig. 3.4) as follows:
b 3
x 1 a and y b. (3.2)
2 2
3.3 Ternary Plots 33
c
1
X
3 b
b sin60D b
2
60°
A b C
bcos 60D
2
1–a
Fig. 3.4 Ternary diagram—plotting ternary [a,b,c] data points in binary [x,y] coordinates.
We can now use standard R functions for binary plot; the trick is that (binary) axes
are not shown and triangle outline is drawn using lines.
sazava.data
Rb
Ba Sr
Fig. 3.5 Ternary diagram Ba–Rb–Sr for analyses of the Sázava suite (Exercise 3.3).
GCDkit-> loadData("sazava.data")
GCDkit-> ternary("Ba","Rb","Sr",pch=1)
2
Function classify with essentially a GIS-like capability, based on the package sp written
by Edzer Pebesma, Roger Bivand and others.
3.4 Classification Plots in GCDkit 35
Classification on the basis of the current diagram can be requested from menu Plot
editing|Classify or, if the template name is specified as an argument, by the func-
tion classify:
GCDkit-> classify("LarochePlut")
Samples classified by: R1 - R2 (De la Roche et al. 1980)
diorite gabbro gabbro-norite
4 1 1
gabbrodiorite granodiorite ultramafic rock
3 2 1
unclassified
2
LarochePlut
Sa-1 "diorite"
Sa-2 "gabbrodiorite"
Sa-3 "gabbrodiorite" … etc.
Deciphering the tectonic setting of ancient igneous suites is of great scientific and
practical interest. One of the key tools, geotectonic diagrams, gained popularity
with improving analytical facilities in 1970–1980’s (e.g., Pearce and Cann 1973;
Pearce and Norry 1979; Wood 1980; Shervais 1982; Mullen 1983; Pearce et al.
1984; Meschede 1986 – see Rollinson 1993 for review). Originally the diagrams
were largely empirical and the discrimination boundaries fitted by eye, but rigor-
ous statistical treatment including (linear or quadratic) discriminant analysis has
become increasingly popular (Vermeesch 2006).
Geotectonic diagrams tend to work because rocks from similar tectonic settings
are likely to have formed by the same combination of sources and processes. The
problem is that several prior assumptions have to be made (often silently):
x the studied suite had a geotectonic position that can be compared with some of
simple settings predicted by the global tectonics paradigm (thus the diagrams are
not usable for Archaean rocks or suites from complex settings),
x its geochemical signature has not been significantly modified by processes such
as fractional crystallization, crystal accumulation or magma mixing,
x elemental mobility during alteration/weathering can be neglected,
x analytical determinations are precise enough, often at sub-ppm level.
36 3 Classical Plots
After the initial adoration, geotectonic diagrams became evil for many colleagues,
while others proposed schemes in which the geochemical rationale vanished to be
replaced by abstract, and rather mechanical, statistical treatment (Verma and
Rivera-Gómez 2013; Verma et al. 2013 and references therein).
In our view, some classic diagrams are useful, especially if the original defini-
tion and scope are strictly adhered to. Fruitful seems the concept of spiderplot-
based geochemical proxies (elemental ratios), advocated by J. Pearce. These may
constrain, for instance, the depth of melting, the degree of mantle enrichment, or
of contamination by subduction-related fluids/melts. For example of application to
back-arcs and ophiolites, see Pearce and Stern (2006) and Pearce (2008, 2014).
Selected, presumably little mobile elements from basic lavas are the most valu-
able, as the parental magmas come from a primary source (mantle) and do not
originate by recycling of crustal material (Pearce 1996a). On the other hand, acid
igneous rocks—especially collisional granitoids—are often generated from several
times recycled crustal materials and may inherit the signature of the older
source(s) (Arculus 1987; Förster et al. 1997). Any danger of misinterpretation can
be minimized if the geology, petrology, age and whole geochemical signature are
all taken into account (Barbarin 1990; Bonin 1990; Pearce 1996b; Clemens 2012).
3.6 Spiderplots
Geochemists often like to express the compositional differences between the stud-
ied sample and given geochemical reservoir in the form of so-called spiderplots
(also known as spiderdiagrams/spidergrams or (better) multi-element diagrams).
Spiderplots allow representing much of the sample’s composition on a single
graph. Technically these are logarithmic plots of elemental concentrations (allow-
ing comparison of concentrations that differ by several orders of magnitude) in
the sample divided (normalized) by those in the selected standard. The order of
the elements along the axis is critical as it can by itself generate artificial anom-
alies (Dupré et al. 1994). Normally, the elements are arranged in a logical se-
quence according to their geochemical behaviour (often based on bulk distribution
coefficients, with the more incompatible ones on the left) (Hofmann 1988)
(see also Sect. 21.2).
3.6 Spiderplots 37
20.00
a b
0.50
5.00
2.00
0.20
(ppm)
(ppm)
0.50
0.10
0.20
0.05
0.05
La Ce Pr Nd Sm Eu Gd Tb Dy Ho Er Tm Yb Lu La Ce Pr Nd Sm Eu Gd Tb Dy Ho Er Tm Yb Lu
100
Po- 1 (normalized) c
Sample/ REE chondrite
10
La Pr Pm Eu Tb Ho Tm Lu
1
Ce Nd Sm Gd Dy Er Yb
Fig. 3.6 a–b All Solar System material shows a zigzag pattern of elemental abundances (here,
REE). This so-called Oddo-Harkins effect reflects the processes during nucleosynthesis and the
overall stability of elements in the Universe. Here are shown the un-normalized patterns (ppm)
for average chondrite meteorites (Boynton 1984) and the Požáry trondhjemite Po-1 from the
Sázava dataset. c Normalization to a common reference (chondrites in this case) compensates for
this effect and allows focusing on differences between individual terrestrial rocks.
38 3 Classical Plots
La Ce Pr Nd Sm Eu Gd
0.31 0.808 0.122 0.6 0.195 0.0735 0.259
Tb Dy Ho Er Tm Yb Lu
0.0474 0.322 0.0718 0.21 0.0324 0.209 0.0322
boynton.data
sazava.data
3.6 Spiderplots 39
5.0
0.5 1.0
0.1
La Ce Pr Nd Sm Eu Gd Tb Dy Ho Er Tm Yb Lu
Fig. 3.7 Chondrite-normalized REE patterns for two Požáry trondhjemites (Exercise 3.4).
GCDkit-> loadData("sazava.data")
GCDkit-> spider(WR[c("Po-1","Po-4"),],"Boynton",1,500,
+ pch=1:2,col=1:2,legend=TRUE)
GCDkit-> spider(WR,"Boynton",field=TRUE,fill.col=TRUE,
+ shaded.col="khaki",0.1,1000)
GCDkit-> spider(WR,"Boynton",0.1,1000,pch=labels$Symbol,
+ col=labels$Colour)
GCDkit-> spider(WR,"Boynton",field=TRUE,density=0.02,
+ angle=45, col="gray",fill.col=FALSE,add=TRUE)
10
1
0.1
La Ce Pr Nd Pm Sm Eu Gd Tb Dy Ho Er Tm Yb Lu
GCDkit employs the concept of plates for collections of two or more (originally)
stand-alone plots in a single plotting window. Typical examples are Harker plots,
or diagrams using the same template plotted for individual data groups. To menu
Plots|Multiple plots by groups is attached the function figMulti that displays a
grid of plots, one for each of the groups in the current dataset, based on the most
recently plotted single diagram template. These may be binary or ternary plots—
including the complex templates of classification or geotectonic plots—or even
spiderplots.
GCDkit-> loadData("sazava.data")
GCDkit-> groupsByLabel("Intrusion")
GCDkit-> plotDiagram("LarochePlut",FALSE)
GCDkit-> figRemove() # Less cluttered, no field labels
GCDkit-> figMulti(nrow=1,ncol=3)
# Three plots in a single row
3.7 Multiple Plots by Groups 41
Properties of the whole plate or all its diagrams can be changed simultaneously,
using the plate…() functions. For instance:
GCDkit-> plateCex(2) # symbols size, the whole plate
GCDkit-> plateCexMain(2) # main title
GCDkit-> plateCexLab(1.8) # axis labels size
GCDkit-> plateBW() # set plate to black and white
2500
2500
R2= 6Ca + 2Mg + Al
1500
1500
0 500
0 500
0 500
−1000 0 1000 2000 3000 −1000 0 1000 2000 3000 −1000 0 1000 2000 3000
R1= 4Si − 11(Na + K) − 2(Fe + Ti) R1= 4Si − 11(Na + K) − 2(Fe + Ti) R1= 4Si − 11(Na + K) − 2(Fe + Ti)
Fig. 3.9 Multiple plot for individual rock groups in the Sázava dataset. It is based on the GCDkit
template for multicationic classification of De La Roche et al. (1980) with textual labels of fields
intentionally omitted.
References
Aitchison J (1986) The statistical analysis of compositional data. Methuen, New York
Arculus RJ (1987) The significance of source versus process in the tectonic controls of magma
genesis. J Volcanol Geotherm Res 32:1–12
Barbarin B (1990) Granitoids: main petrogenetic classifications in relation to origin and tectonic
setting. Geol J 25:227–238
Bonin B (1986) Ring complexes and anorogenic magmatism. Elsevier, Amsterdam
Bonin B (1990) From orogenic to anorogenic settings: evolution of granitoid suites after a major
orogenesis. Geol J 25:261–270
Boynton WV (1984) Cosmochemistry of the rare earth elements: meteorite studies. In:
Henderson P (ed) Rare Earth Element Geochemistry. Elsevier, Amsterdam, pp 63–114
Chayes F (1960) On correlation between variables of constant sum. J Geophys Res
65:4185–4193
Clemens JD (2012) Granitic magmatism, from source to emplacement: a personal view. Applied
Earth Science (Trans Inst Min Metall B) 121:107–136
De La Roche H, Leterrier J, Grandclaude P, Marchal M (1980) A classification of volcanic and
plutonic rocks using R1R2–diagram and major element analyses—its relationships with cur-
rent nomenclature. Chem Geol 29:183–210
Dupré B, Schiano P, Polve M, Joron JL (1994) Variability; a new parameter which emphasizes
the limits of extended rare earth diagrams. Bull Soc Géol France 165:3–13
42 3 Classical Plots
Förster H-J, Tischendorf G, Trumbull RB (1997) An evaluation of the Rb vs. (Y + Nb) discrimi-
nation diagram to infer tectonic setting of silicic igneous rocks. Lithos 40:261–293
Harker A (1909) The natural history of igneous rocks. Methuen & Co., London
Hofmann AW (1988) Chemical differentiation of the Earth: the relationship between mantle, con-
tinental crust, and oceanic crust. Earth Planet Sci Lett 90:297–314
Liégeois J-P, Navez J, Hertogen J, Black R (1998) Contrasting origin of post-collisional high-K
calc-alkaline and shoshonitic versus alkaline and peralkaline granitoids. Lithos 45:1–28
McDonough WF, Sun S (1995) The composition of the Earth. Chem Geol 120:223–253
Meschede M (1986) A method of discriminating between different types of mid-ocean ridge
basalts and continental tholeiites with the Nb–Zr–Y diagram. Chem Geol 56:207–218
Moyen JF, Champion D, Smithies RH (2009) The geochemistry of Archaean plagioclase-rich
granites as a marker of source enrichment and depth of melting. Earth Environ Sci Trans R
Soc Edinb 100:35–50
Mullen ED (1983) MnO/TiO2/P2O5: a minor element discriminant for basaltic rocks of oceanic
environments and its implications for petrogenesis. Earth Planet Sci Lett 62:53–62
Pearce JA (1996a) A user’s guide to basalt discrimination diagrams. In: Wyman DA (ed) Trace
element geochemistry of volcanic rocks: applications for massive sulphide exploration.
Geological Association of Canada, Short Course Notes, vol 12, pp 79–113
Pearce JA (1996b) Sources and settings of granitic rocks. Episodes 19:120–125
Pearce JA (2008) Geochemical fingerprinting of oceanic basalts with applications to ophiolite
classification and the search for Archean oceanic crust. Lithos 100:14–48
Pearce JA (2014) Immobile element fingerprinting of ophiolites. Elements 10:101–108
Pearce JA, Cann JR (1973) Tectonic setting of basic volcanic rocks determined using trace ele-
ment analyses. Earth Planet Sci Lett 19:290–300
Pearce JA, Norry MJ (1979) Petrogenetic implications of Ti, Zr, Y, and Nb variations in volcanic
rocks. Contrib Mineral Petrol 69:33–47
Pearce JA, Stern RJ (2006) Origin of back-arc basin magmas: trace element and isotope perspec-
tives. In: Christie DM, Fisher CR, Lee S-M, Givens S (eds) Back-arc spreading systems: geo-
logical, biological, chemical, and physical interactions. Geophysical Monograph Series, vol
166. American Geophysical Union, pp 63–86
Pearce JA, Harris NBW, Tindle AG (1984) Trace element discrimination diagrams for the tec-
tonic interpretation of granitic rocks. J Petrol 25:956–983
Reimann C, Filzmoser P, Garrett R, Dutter R (2008) Statistical data analysis explained: applied
environmental statistics with R. John Wiley & Sons, Chichester
Rock NMS (1988) Numerical geology. A source guide, glossary and selective bibliography
to geological uses of computers and statistics. Lecture Notes in Earth Sciences, vol 18.
Springer, Berlin
Rollinson HR (1992) Another look at the constant sum problem in geochemistry. Mineral Mag
56:469–475
Rollinson HR (1993) Using geochemical data: evaluation, presentation, interpretation. Longman,
London
Shervais JW (1982) Ti–V plots and the petrogenesis of modern and ophiolitic lavas. Earth Planet
Sci Lett 59:101–118
Skala W (1979) Some effects of the constant-sum problem in geochemistry. Chem Geol 27:1–9
Sun SS, McDonough WF (1989) Chemical and isotopic systematics of oceanic basalts: implica-
tions for mantle composition and processes. In: Saunders AD, Norry M (eds) Magmatism in
the ocean basins. Geological Society of London Special Publications, vol 42, pp 313–345
Taylor SR, McLennan SM (1985) The continental crust: its composition and evolution.
Blackwell, Oxford
Taylor SR, McLennan SM (1995) The geochemical evolution of the continental crust. Rev
Geophys 33:241–265
van den Boogaart KG, Tolosana-Delgado R (2008) “compositions”: a unified R package to ana-
lyze compositional data. Comput and Geosci 34:320–338
References 43
van den Bogaard P, Tolosana-Delgado R (2013) Analyzing compositional data with R. Springer,
Berlin
Verma SP, Rivera-Gómez MA (2013) New computer program TecD for tectonomagmatic dis-
crimination from discriminant function diagrams for basic and ultrabasic magmas and its
application to ancient rocks. J Iber Geol 39:167–179
Verma SP, Pandarinath K, Verma SK, Agrawal S (2013) Fifteen new discriminant-function-based
multi-dimensional robust diagrams for acid rocks and their application to Precambrian rocks.
Lithos 168–169:113–123
Vermeesch P (2006) Tectonic discrimination diagrams revisited. Geochem Geophys Geosyst
7:Q06017
Wood DA (1980) The application of a Th–Hf–Ta diagram to problems of tectonomagmatic clas-
sification and to establishing the nature of crustal contamination of basaltic lavas of the
British Tertiary volcanic province. Earth Planet Sci Lett 50:11–30
Chapter 4
Specialized Plots
This chapter presents several other types of geochemical plots that are imple-
mented in GCDkit. It does not aim at being systematic and comprehensive; instead
it focusses on arguably the most useful or interesting among them that could be
suitable for common applications in igneous geochemistry.
Plotting a binary plot in logarithmic coordinates enables examining both the ele-
mental concentrations and their ratios. In this projection the fan of lines passing
through the origin corresponding to analyses of constant ratio in a standard binary
plot (Fig. 4.1a) is transformed into a series of parallel lines of identical slope in
logarithmic coordinates (Fig. 4.1b). In R, log–log diagrams are plotted using the
function plot, specifying log = "xy".
1000
500
800
600
50
Rb
Rb
400
10
5
200
a b
1
Fig. 4.1 Using log–log diagrams to depict values and ratios. a A linear scale diagram. Dashed
lines (going through the origin) correspond to Rb/Sr = 0.1, 0.2, …, 0.9, 1, 2, 3, … to 10. b The
same diagram on a log–log scale.
Apart from the standard spiderplots with patterns for individual samples or (semi-
transparent) shaded/hatched fields for several of them, GCDkit produces also
some specialized types of this graph. For instance, the colours of individual pat-
terns can be coded according to an independent conditioning variable, such as
SiO2 or MgO (function spider.contour, Fig. 4.2a). Or a set of spiderplots, for
each group one, can be obtained using the function figMulti, such as:
GCDkit-> loadData("sazava.data")
GCDkit-> groupsByLabel("Intrusion")
GCDkit-> spider(WR,"Boynton",1,100,pch=labels$Symbol,
+ col=labels$Colour,cex=2)
GCDkit-> figMulti(nrow=1,ncol=3,plot.symb=TRUE)
Here, the shaded field indicates the overall variation in the whole dataset.
100
MgO
5.8- 6
6- 6.2
6.2- 6.4
6.4- 6.6
6.6- 6.8
10
6.8- 7
7- 7.2
7.2- 7.4
7.4- 7.6
7.6- 7.8
7.8- 8
8- 8.2
8.2- 8.4
1
8.4- 8.6
8.6- 8.8
8.8- 9
9- 9.2
a 9.2- 9.4
9.4- 9.6
La Pr Pm Eu Tb Ho Tm Lu
0.1
Ce Nd Sm Gd Dy Er Yb
10
1
b
0.1
La Ce Pr Nd Pm Sm Eu Gd Tb Dy Ho Er Tm Yb Lu
Fig. 4.2 Chondrite-normalized (Boynton 1984) REE patterns for dolerites from the Devonian
Vrbno Group, Silesia (Czech Republic) (Janoušek et al. 2014) colour-coded by MgO contents (a)
and double-normalized (Sect. 4.2.1) (setting LuN = 1) (b).
4.2 Specialized Spiderplots 47
La Ce Pr Nd Pm Sm Eu Gd Tb Dy Ho Er Tm Yb Lu
Fig. 4.3 Chondrite-normalized (Boynton 1984) spider box and percentile plot for REE in Vrbno
Group dolerites (see the previous figure) generated by the function spiderBoxplot.
a
6
5
Shoshonite Series
0.005
High−K calc−alkaline
4
Series
K2O
0.015
0.02
3
Calc−alkaline
5 Series
0.02
2
0.025
1
0.03
Tholeiite Series
0.01
0
45 50 55 60 65 70 75
SiO2
7
b
5
Shoshonite Series
High−K calc−alkaline
4
Series
K2O
3
Calc−alkaline
Series
2
1
Tholeiite Series
0
45 50 55 60 65 70 75
SiO2
Fig. 4.4 a SiO2–K2O plot (Peccerillo and Taylor 1976) of over 3,800 analyses of Andean igneous
rocks from the GeoRoc database (georoc.mpch-mainz.gwdg.de/georoc). Superimposed are con-
tours showing the values of the probability density function. b Filled contours, based on counting
over the 20×20 grid shown in the above panel.
4.4 Anomally Plots 49
3
0
+
2
−1
1
log(Bi)
−1.897
−2
+
−1
−3
−3.507
−2
−4
o
−4.61
−3
2 3 4 5 6 7
Fe Mg
Fig. 4.5 Anomaly plot for the sandstone analyses from the drill core CYDD0020, Coyote Au de-
posit, Granites–Tanami Orogen (Western Australia) (Bagas et al. 2009). The Au distribution is
skewed and ranging over several orders of magnitude (therefore the logarithmic scale). The con-
centration of gold into rocks with Fe/Mg of 4–5 is apparent, as is its correlation with Bi.
50 4 Specialized Plots
K2O
70
0.5 - 1
65
1 - 1.5
SiO2
1.5 - 2
60
2 - 2.5
55
50
Fig. 4.6 Strip boxplot showing distribution of SiO2 and K2O in individual rock groups of the
Sázava suite, Central Bohemian Plutonic Complex. The figure was plotted using the command
stripBoxplot(yaxis="SiO2",zaxis="K2O",pal="terrain.colors").
References 51
References
Bagas L, Anderson JAC, Bierlein FP (2009) Palaeoproterozoic evolution of the Killi Killi
Formation and orogenic gold mineralization in the Granites-Tanami Orogen, Western
Australia. Ore Geol Rev 35:47–67
Boynton WV (1984) Cosmochemistry of the rare earth elements: meteorite studies. In:
Henderson P (ed) Rare Earth Element Geochemistry. Elsevier, Amsterdam, pp 63–114
Esty WW, Banfield JD (2003) The box-percentile plot. J Stat Softw 8:1–14
Janoušek V, Finger F, Roberts MP, Frýda J, Pin C, Dolejš D (2004) Deciphering the petrogenesis
of deeply buried granites: whole-rock geochemical constraints on the origin of largely unde-
pleted felsic granulites from the Moldanubian Zone of the Bohemian Massif. Trans Roy Soc
Edinb, Earth Sci 95:141–159
Janoušek V, Aichler J, Hanžl P, Gerdes A, Erban V, Pecina V, Žáček V, Pudilová M, Hrdličková
K, Mixa P, Žáčková E (2014) Constraining genesis and geotectonic setting of metavolcanic
complexes: a multidisciplinary study of the Devonian Vrbno Group (Hrubý Jeseník Mts.,
Czech Republic). Int J Earth Sci 103:455–483
Pearce JA, Stern RJ (2006) Origin of back-arc basin magmas: trace element and isotope perspec-
tives. In: Christie DM, Fisher CR, Lee S-M, Givens S (eds) Back-arc spreading systems: geo-
logical, biological, chemical, and physical interactions. Geophysical Monograph Series, vol
166. American Geophysical Union, pp 63–86
Pearce JA, Stern RJ, Bloomer SH, Fryer P (2005) Geochemical mapping of the Mariana arc-
basin system: implications for the nature and distribution of subduction components.
Geochem Geophys Geosyst 6:Q07006
Peccerillo A, Taylor SR (1976) Geochemistry of Eocene calc-alkaline volcanic rocks from the
Kastamonu area, Northern Turkey. Contrib Mineral Petrol 58:63–81
Reimann C, Filzmoser P, Garrett RG (2002) Factor analysis applied to regional geochemical
data: problems and possibilities. Appl Geochem 17:185–206
Thompson RN, Morrison MA, Dickin AP, Hendry GL (1983) Continental flood basalts…
Arachnids rule OK? In: Hawkesworth CJ, Norry MJ (eds) Continental basalts and mantle
Xenoliths. Shiva, Nantwich, pp 158–185
Chapter 5
Radiogenic Isotopes
In contrast to the light stable isotopes (e.g., O, H, Li, C), the utility of the rela-
tively heavy radiogenic isotopes (e.g., Sr, Nd, Pb, Hf) consists in the fact that they
should not be fractionated by equilibrium, closed-system processes (so named, as
no components external to the magmatic system are involved) such as partial melt-
ing, fractional crystallization or crystal accumulation. In these cases the radiogenic
isotopes enable us to fingerprint the magma sources. Alternatively, these ratios
may be used to prove the operation of open-system processes, for instance magma
mixing or crustal assimilation. Subsequently, compositions and proportions of
end-members involved can often be constrained.
The aim of this chapter is to explain basic numerical approaches in interpreting
radiogenic isotope data in igneous geochemistry, with a particular emphasis on
Sr–Nd–Hf–Os isotopes. The text is concerned with calculation of initial ratios,
ages, İ and Ȗ values, single- and two-stage model ages and fitting of isochrons.
Theoretical background is explained only briefly as detailed accounts are readily
available in several textbooks (Geyh and Schleicher 1990; Faure and Mensing
2004; Dickin 2005; Allègre 2008 to name just a few).
Many of the parent–daughter dating methods are based on similar principles. The
parent (radioactive) isotope (e.g., 87Rb, 147Sm or 176Lu) decays to the daughter (ra-
diogenic) isotope (e.g., 87Sr, 143Nd or 176Hf):
87
Rb o 87 Sr , 147
Sm o 143 Nd ,
176
Lu o 176 Hf ,
187
Re o 187Os (5.1)
As the mass spectrometer is only capable of measuring isotopic ratios, the content
of daughter isotope is expressed as a ratio to a stable, non-radiogenic isotope,
whose natural abundance does not change with time (for simplicity termed here I;
e.g., 87Sr/86Sr, 143Nd/144Nd or 176Hf/177Hf). Age calculation also requires the
amount of the parental isotope to be expressed as a ratio to the same non-
radiogenic stable isotope of the daughter element (R; e.g., 87Rb/86Sr, 147Sm/144Nd
or 176Lu/177Hf). Whereas the I ratios are measured directly with the mass spectrome-
87
Rb § CRb u Ab87 Rb · § AWSr ·
¨ ¸¨ ¸ (5.2)
86
Sr © AWRb ¹ © CSr u Ab86 Sr ¹
87
Rb § CRb · ª 87
Sr º
¨ ¸«
Sr »¼
2.6939 0.2832 (5.4)
86
Sr © CSr ¹ ¬ 86
176
Lu § CLu · ª 176
Hf º
177 ¨ ¸ «0.13517 0.02613 177 » (5.6)
Hf © CHf ¹ ¬ Hf ¼
Using our notation, an equation between I, R and age t (in years) can be written as:
I
R e Ot 1 (5.8)
Where Ȝ is the relevant decay constant (see Ickert 2013 for discussion):
λ87 Rb = 1.42 × 10–11y–1 (Steiger and Jäger 1977) (old but still widely used value)
λ87 Rb = 1.3968 × 10–11 y–1 (Rotenberg et al. 2012) (new determination)
λ147Sm = 6.54 × 10–12 y–1 (Lugmair and Marti 1978)
λ176Lu = 1.867 × 10–11 y–1 (Söderlund et al. 2004)
λ187Re = 1.6668 × 10–11 y–1 (Selby et al. 2007)
Equation (5.8) assumes that initially, t years ago, there was no daughter isotope
present. This can be (nearly) justified for some minerals, forming so-called (par-
ent-) rich systems (Allègre 2008). As an example may serve a Li-mica that is Rb
rich and whose Sr will soon become dominated by the radiogenic component.
However, generally there is always some common Sr, Nd or Hf present. Assuming
that its composition (initial ratio) is Ii, Eq. (5.8) changes into:
I
I i R eOt 1 (5.9)
If the age is known, the isotopic ratios can be easily ‘age-corrected’ (i.e. initial ra-
tios back-calculated) and used in petrogenetic considerations.
On the other hand, knowing the initial ratio, e.g. by analysis of a (parent-) poor
system (e.g., Sr in apatite that contains little Rb and thus its 87Sr/86Sr is nearly con-
56 5 Radiogenic Isotopes
stant, close to the initial composition), Eq. (5.9) can be developed into a formula
giving the age:
1 § I Ii ·
t ln ¨ 1¸ (5.10)
O © R ¹
The Sr–Nd isotopic study of the Central Bohemian Plutonic Complex (CBPC)
(Janoušek et al. 1995) has proven a diversity of sources and processes involved in
genesis of individual intrusions and suites. The file contains an excerpt from the
data for several granitoid types and two country rocks.
cbpizo.data
Table 5.1 Selected Sr–Nd isotopic data for the Central Bohemian Plutonic Complex
Rb Sr 87 Sm Nd
ID Rock type Sr/86Sr 143
Nd/144Nd
(ppm) (ppm) (ppm) (ppm)
Sa-1 Sázava 76 555.8 0.70700 4.57 24.2 0.512476
Koz-2 Kozárovice 164.1 486.9 0.71258 5.91 31.7 0.512210
Bl-2 Blatná 185 439.1 0.71434 6.85 43.8 0.512101
Se-9 Sedlþany 308.1 307.8 0.72620 8.17 40.2 0.512080
Ri-1 ěíþany 310.7 374.1 0.72154 4.06 24.1 0.512053
CR-1 shale 110 80.4 0.72596 3.3 17.3 0.512061
CR-5 paragneiss 160 86.4 0.74670 9.4 50.6 0.511880
x Import the data file into a matrix izo, calculate the Rb/ Sr and 147Sm/144Nd
87 86
ratios and attach them to the matrix as the last data columns.
x Design functions yielding Sr and Nd initial ratios; back-calculate these at 350
and 300 Ma ago; can you program a single function with an argument identifying
the isotopic system (Sr or Nd)?
x Calculate the age of the sample Koz-2 assuming that its initial ratio is 0.705.
87Rb/86Sr 147Sm/144Nd
Sa-1 0.3957418 0.11416466
Koz-2 0.9759392 0.11270205
Bl-2 1.2202168 0.09453854
Se-9 2.9023859 0.12285315
Ri-1 2.4070655 0.10183487
CR-1 3.9669665 0.11530714
CR-5 5.3803064 0.11229157
The initial Nd isotopic ratios usually do not differ much among individual whole-
rock samples. This is due to a relatively long half-life of Sm and a very limited
fractionation between Sm and Nd caused by their similar ionic radii, identical
charge and thus also geochemical behaviour.
The isotopic evolution of Nd in the Earth is described in terms of the so-called
Chondritic Uniform Reservoir (CHUR: DePaolo 1988). This model mantle is de-
fined to have Sm/Nd and initial 143Nd/144Nd ratios equal to those of chondritic me-
teorites (Jacobsen and Wasserburg 1980). The CHUR is widely used for compari-
son of initial isotopic compositions of studied rocks with that of undifferentiated
mantle at the time of their generation. This is done through the İNd notation:
58 5 Radiogenic Isotopes
§ § 143 Nd · SA ·
¨ ¨ 144 ¸ ¸
¨ © Nd ¹ i ¸
H iNd ¨ 143 CHUR
1¸ u 104 (5.11)
¨ §¨ Nd ·¸ ¸
¨ 144 ¸
© © Nd ¹ i ¹
Where: t = intrusion age, indexes i decipher initial isotopic ratios [Eq.(5.9)], SA =
sample. The present-day composition of the CHUR is 147Sm/144NdCHUR = 0.1967
and 143Nd/144NdCHUR = 0.512638 (Jacobsen and Wasserburg 1980) or
147
Sm/144NdCHUR = 0.1960 and 143Nd/144NdCHUR = 0.512630 (Bouvier et al. 2008).
For an overview of alternatives, as well as of error propagation, see Ickert (2013).
This notation makes it much easier to compare the initial Nd isotope ratios of
samples of different ages. In earlier days, it also removed the effects of the differ-
ent fractionation corrections employed during analysis in individual laboratories
(Faure 1986). Note that all Nd isotopic data and formulae presented in this text are
based on normalization to 146Nd/144Nd = 0.7219, a common practice nowadays.
As Nd is more incompatible than Sm, partial melting of a mantle peridotite
would produce melts with Sm/Nd ratios lower than the source. On the other hand,
the residue would be enriched in Sm and yield a higher Sm/Nd ratio (Fig. 5.1a).
Thus old crustal rocks formed originally by CHUR-like mantle melting should
have present-day 143Nd/144Nd lower than CHUR (İNd < 0) and mantle domains with
long-term depletion will, over time, develop higher 143Nd/144Nd (İNd > 0).
Comparable geochemical behaviour is shown also by the Hf isotopes, for which
we can define İHf values by analogy to Eq. (5.11). The present-day composition of
the CHUR is 176Lu/177HfCHUR = 0.0336 and 176Hf/177HfCHUR = 0.282785 (Bouvier et
al. 2008). Again, for an overview of alternatives, see Ickert (2013).
On the other hand, the Rb–Sr system behaves in an opposite way. Rubidium is
more incompatible than Sr in the course of mantle melting and thus the crust is
characterized by high Rb/Sr producing, over the time, high 87Sr/86Sr ratios. The İ
values, even though seldom used for the Sr isotopes, would be strongly positive.
The geochemical-reservoir normalized compositions can be also expressed as Ȗ
values1, as is customary for the Re–Os system:
§ § 187Os · SA ·
¨ ¨ 188 ¸ ¸
J Os
i ¨ © Os ¹ i 1¸ u 102
¨ 187 Mantle ¸ (5.12)
¨¨ §¨ Os ·¸ ¸¸
© © Os ¹ i ¹
188
1
The į notation, used for stable isotopes, is analogous (just multiply by 103 rather than 102).
In fact, this forms a logic system, whereby 10 n is expressed by (n+1)th letter in the Greek alphabet.
5.3 Epsilon, Delta and Gamma Values 59
187
The present-day mantle values are Re/188Os = 0.422 and 187
Os/188Os = 0.1283
(Walker et al. 2002).
I
DM
)
DM
I = 143Nd/144Nd
=
SA Sample
tle
DM Depleted Mantle I
an
SA
dM
le e LE
ep du
Partial melting te UR MP
(D esi
SA
CH
R
IT = I T
lt DM SA
Me
DM
UR Partial melting
CH
a b
T 0 T 0
Time Time
Fig. 5.1 a Isotopic evolution of Nd in a Chondritic Uniform Reservoir (CHUR), igneous rock
formed by its partial melting and the residual solid—Depleted Mantle (after Faure 1986);
b Theoretical concept of a single-stage Nd model age as an intersection between the mantle evolu-
tion line (here Depleted Mantle) and that for the given sample.
> round(epsilon(izo,350),2)
Sa-1 Koz-2 Bl-2 Se-9 Ri-1 CR-1 CR-5
0.53 -4.60 -5.91 -7.59 -7.18 -7.62 -11.02
> plot(initial(izo,age=350),epsilon(izo,350),
> xlab=expression(" "^87*Sr/""^86*Sr[i]),
> ylab=expression(epsilon[Nd]^i),pch=11,cex=1.5,
> cex.lab=1.5,cex.axis=1.5)
60 5 Radiogenic Isotopes
0
-2
-4
H iNd
-6
-8
- 10
The model ages represent an apparent age of extraction from a model geochemical
reservoir. These include, for instance, intercepts with various mantle evolution
models. The principle will be explained here for neodymium but the same ap-
proach can be adopted for some other systems (notably Lu–Hf).
The relative immobility of LREE in course of the weathering and low-grade
metamorphism enables calculation of time in the past when the given sample had
the Nd isotopic composition identical to its presumed model source reservoir
(most often CHUR or Depleted Mantle, DM – DePaolo 1988). Important prereq-
uisites for such an interpretation are: 1) the sample was generated from the source
that can be approximated by the given model reservoir, 2) this happened in a sin-
gle or, at most, two steps, 3) there was a significant change in the Sm/Nd ratio
during the melting and 4) the sample remained a closed system throughout its his-
tory (Arndt and Goldstein 1987). Following McCulloch and Wasserburg (1978),
the Nd model ages have been often interpreted as ‘crust-formation ages’ for the
given crustal segment. These may be significant especially if obtained from clay-
rich (meta-) sedimentary rocks, averaging large source regions of the crust
(Michard et al. 1985).
where SA denotes the sample and DM the appropriate model reservoir (here
Depleted Mantle). The equation:
I SA RSA eOT 1
I DM RDM eOT 1 (5.14)
is solved for T (the model age) using the present-day Nd isotopic compositions of
the sample and the model reservoir:
1 § I I DM ·
T ln ¨ SA 1¸ (5.15)
O © RSA RDM ¹
> round(DMAGE(izo),2)
Sa-1 Koz-2 Bl-2 Se-9 Ri-1 CR-1 CR-5
0.90 1.26 1.21 1.59 1.34 1.50 1.71
been designed (Liew and Hofmann 1988) which compensates for effects of possi-
ble second Sm/Nd fractionation (first having occurred at mantle melting) in course
of the intracrustal partial melting. In the following formulae, the indexes DM, CC,
SA denote Depleted Mantle, average continental crust and the sample, respec-
tively. T = two-stage Nd model age, t = crystallization age of the sample, 0 refers
to the present day (Fig. 5.3):
1 § I SA
ln ¨
0
eOt 1 RSA
0
RCC
0
I DM
0
·
T 1¸
(5.16)
O © 0
RCC RDM
0
¹
0 0 0
§ 143 Nd · § 147 Sm · § 147 Sm ·
¨ 144 ¸ = 0.513151, ¨ 144 ¸ = 0.219, ¨ 144 ¸ = 0.12
© Nd ¹ DM © Nd ¹ DM © Nd ¹CC
(Liew and Hofmann 1988)
0
I DM
I = 143Nd/144Nd
SA Sample DM
CC Continental Crust
DM Depleted Mantle 0
ICC
CC
I0
It = I t SAMPLE
SA
SA CC
T T
I =I
DM CC
Partial melting
T t 0
Time
Fig. 5.3 Theoretical concept of a two-stage Nd model age. An intermediate reservoir with Sm/Nd
ratio of typical continental crustal rocks (CC) is assumed.
cbpizo2.data
b tgD e Ot
1 (5.18)
The file acari.data contains Rb–Sr isotopic data for granite Serra do Acari
(Brazil) (Provost 1990 and references therein). On this example, we will demon-
strate the use of simple (i.e. not weighted) linear regression in fitting isochrons.
64 5 Radiogenic Isotopes
Table 5.2 Rb–Sr isotopic data for the Serra do Acari granite
87
Sample Rb/86Sr 1V
87
Sr/86Sr 1V
AT-R-173 5.743 0.062 0.858993 0.000034
AT-R-167 22.290 0.280 1.290200 0.000050
AT-R-157 42.170 0.530 1.760370 0.000069
AT-R-165 61.230 0.980 2.248950 0.000140
AT-R-158 99.000 1.800 3.182530 0.000170
AT-R-169 232.000 3.300 6.548880 0.000470
acari.data
4
86
Sr
87
3
2
1
87 86
Rb Sr
Fig. 5.4 Rb–Sr isochron for granite Serra do Acari (Exercise 5.5).
> izoch <- lm(acari[,3]~acari[,1])
> print(izoch)
Call:
lm(formula = acari[, 3] ~ acari[, 1])
Coefficients:
(Intercept) acari[, 1]
0.71171 0.02513
5.5 Isochron Ages 65
> abline(izoch,lty="dashed")
> age <- 1/1.42e-11*log(izoch$coeff[2]+1)
> print(age/1e6)
1747.657
The Sr–Nd plugin in GCDkit
GCDkit comes with a plugin SrNd.r, which takes care of the recalcula-
tion and plotting of Sr–Nd isotopic data. It is loaded automatically,
whenever columns named “87Sr/86Sr” and/or “143Nd/144Nd” are encountered
in your datafile. The data can, optionally, contain also a column named “Age”,
specifying an age (or ages) in Ma to which the isotopic data should be recalculated.
Otherwise, the user is prompted to enter this value when the dataset is loaded.
If columns labelled “87Rb/86Sr” or “147Sm/144Nd” are absent, these are cal-
culated based upon concentrations of Rb, Sr, Sm and Nd, as well as Sr and Nd
isotopic composition using Eq. (5.4) and (5.5).
The plugin calculates initial 87Sr/86Sr and/or 143Nd/144Nd ratios, as well as epsi-
lon Nd values and several types of Nd model ages. All recalculated isotopic data
are stored in numeric matrix init. Moreover, the plugin can draw binary plots in-
volving isotope data, or their combination with any other whole-rock geochemical
parameters, boxplots and stripplots of isotope-related values, together with Sr and
Nd growth diagrams and crude isochrons. See ?srnd for details.
10
DM
CHUR
0
-10
εNd
-20
-30
Age (Ga)
Fig. 5.5 An example of a two-stage Nd growth diagram as plotted by GCDkit. Shown is the de-
velopment of metasedimentary and metaigneous rocks from the Coastal Terrane and Congo Cra-
ton (Kaoko Belt, Namibia). See fig. 8 in Konopásek et al. (2014) for data sources. The extra tick
marks on the ordinate indicate the initial İNd values of the samples, on the abscissa the two-stage
Depleted Mantle Nd model ages (Liew and Hofmann 1988).
References
Allègre CJ (2008) Isotope geology. Cambridge University Press, Cambridge
Arndt NT, Goldstein SL (1987) Use and abuse of crust-formation ages. Geology 15:893–895
66 5 Radiogenic Isotopes
Audi G, Wapstra AH, Thibault C (2003) The Ame2003 atomic mass evaluation: (II). Tables,
graphs and references. Nucl Phys A 729:337–676
Berglund M, Wieser M E (2011) Isotopic compositions of the elements 2009 (IUPAC Technical
Report). Pure App Chem 83:397–410
Bouvier A, Vervoort JD, Patchett PJ (2008) The Lu–Hf and Sm–Nd isotopic composition of
CHUR: constraints from unequilibrated chondrites and implications for the bulk composition
of terrestrial planets. Earth Planet Sci Lett 273:48–57
DePaolo DJ (1988) Neodymium isotope geochemistry. Springer, Berlin
Dickin AP (2005) Radiogenic isotope geology. Cambridge University Press, Cambridge
Faure G (1986) Principles of isotope geology. John Wiley & Sons, Chichester
Faure G, Mensing TM (2004) Isotopes: principles and applications. Wiley, New Jersey
Geyh MA, Schleicher H (1990) Absolute age determination. Springer, Berlin
Ickert RB (2013) Algorithms for estimating uncertainties in initial radiogenic isotope ratios and
model ages. Chem Geol 340:131–138
Jacobsen SB, Wasserburg GJ (1980) Sm–Nd isotopic evolution of chondrites. Earth Planet Sci
Lett 50:139–155
Janoušek V, Rogers G, Bowes DR (1995) Sr–Nd isotopic constraints on the petrogenesis of the
Central Bohemian Pluton, Czech Republic. Geol Rundsch 84:520–534
Konopásek J, Košler J, Sláma J, Janoušek V (2014) Timing and sources of pre-collisional
Neoproterozoic sedimentation along the SW margin of the Congo Craton (Kaoko Belt, NW
Namibia). Gondwana Res 26:386–401
Kullerud L (1991) On the calculation of isochrons. Chem Geol (Isot Geosci Sect) 87:115–124
Liew TC, Hofmann AW (1988) Precambrian crustal components, plutonic associations, plate
environment of the Hercynian Fold Belt of Central Europe: indications from a Nd and Sr iso-
topic study. Contrib Mineral Petrol 98:129–138
Ludwig KR (2003) Isoplot/Ex version 3.00. A geochronological toolkit for Microsoft Excel,
User’s Manual. Berkeley Geochronology Center Special Publications, vol 4, pp 1–70
Lugmair GW, Marti K (1978) Lunar initial 143Nd/144Nd: differential evolution line of the lunar
crust and mantle. Earth Planet Sci Lett 39:349–357
McCulloch MT, Wasserburg GJ (1978) Sm–Nd and Rb–Sr chronology of the continental crust
formation. Science 200:1003–1011
Michard A, Gurriet P, Soudant M, Albarède F (1985) Nd isotopes in French Phanerozoic shales:
external vs. internal aspects of crustal evolution. Geochim Cosmochim Acta 49:601–610
Provost A (1990) An improved diagram for isochron data. Chem Geol (Isot Geosci Sect)
80:85–99
Rotenberg E, Davis DW, Amelin Y, Ghosh S, Bergquist BA (2012) Determination of the decay-
constant of 87Rb by laboratory accumulation of 87Sr. Geochim Cosmochim Acta 85:41–57
Selby D, Creaser RA, Stein HJ, Markey RJ, Hannah JL (2007) Assessment of the 187Re decay
constant by cross calibration of Re–Os molybdenite and U–Pb zircon chronometers in mag-
matic ore systems. Geochim Cosmochim Acta 71:1999–2013
Söderlund U, Patchett PJ, Vervoort JD, Isachsen CE (2004) The 176Lu decay constant determined
by Lu–Hf and U–Pb isotope systematics of Precambrian mafic intrusions. Earth Planet Sci
Lett 219:311–324
Steiger RH, Jäger E (1977) Subcommission on Geochronology; convention on the use of decay
constants in geo- and cosmochronology. Earth Planet Sci Lett 36:359–362
Walker RJ, Horan MF, Morgan JW, Becker H, Grossman JN, Rubin AE (2002) Comparative
187Re–187Os systematics of chondrites: implications regarding early solar system processes.
The key assumption in geochemical modelling is that the process studied is closed
in a thermodynamic sense, i.e. the system exchanges heat but no matter with its
surroundings. Although this is often disputable (for instance, a fractionating reservoir
out of which magmas are successively tapped, defining a continuous diffentiation
series, is not a closed system!), it is nevertheless a very useful assumption, in
that it allows a mass-balance approach.
Traditionally, models for crystallization, melting and mixing are treated in dif-
ferent ways. It will be shown at the end of this chapter, however, that they are all
different expressions of the same underlying mass-balance relation. For the sake
of clarity, crystallization is described in some detail while melting will be pre-
sented much more concisely.
WL
F (6.1)
W0
Since the system is closed, WS + WL = W0, and so:
WS
1 F FC (6.2)
W0
sometimes referred to as the degree of crystallization.
PRIMITIVE DIFFERENTIATED
MELT MELT
Crystallization
W0 WL wL
w0
CUMULATE
WS wS
In a closed system, the total mass wĮ of any given element (Į) is the same before
and after crystallization. So, for each element:
Equation (6.5) is commonly simplified, and written omitting the Į suffix, as the
wellknown mass-balance equation:
C0 FCL 1 F CS (6.6)
CLMgO
CL
SiO2
CSSiO 2
C0SiO 2 CL
SiO2 wt.%
Fig. 6.2 The “lever rule” in a binary diagram (here, SiO2 vs. MgO) is the expression of the mass-
balance equation. The points representing CS, C0 and CL are linearly aligned; the distance be-
tween C0 and CS is proportional to F and the distance between C0 and CL to (1 – F).
In the simplest case, the cumulate is made of a single mineral, and therefore its
composition is equal to the mineral’s (Fig. 6.3a). This is however not a very realis-
tic situation. In the more plausible case of a two-mineral (A and B) cumulate, its
composition falls on a line connecting them (Fig. 6.3b). If the mass fraction of
the mineral A in the cumulate is mA , the cumulate chemistry can be expressed as:
where mi is the n
mass fraction of mineral iin the cumulate (0 < mi < 1, all summing
up to 1, i.e. ¦ mi = 1) and ciD the concentration of element Į in mineral i.
i =1
This is actually a mixing equation, as we will see in Sect. 6.5. In a binary plot, the
cumulate composition falls in the polygon defined by individual minerals (Fig. 6.3c).
72 6 Direct Models
a CL b c
Clinopyroxene Clinopyroxene
CaO wt.%
CaO wt.%
CaO wt.%
Plagioclase
CS
C0
CL
C0 C0
CS CL
CS
Olivine Olivine Olivine
SiO2 n
° CS ¦(m c i i
SiO2
) mPl cPlSiO2 mOpx cOpx
SiO2
} mncnSiO2
° i 1
° TiO2 n
° CS
®
¦(m c
i 1
TiO2
i i ) TiO2
mPl cPl mOpx cOpx
TiO2
} mncnTiO2
(6.10)
° }
°
° P2O5 n
°CS
¯
¦ (m c
i 1
i i
P2O5
) mPl cPP2lO5 mOpx cOpx
P2O5
} mn cnP2O5
§ CSSiO2 ·
JJG ¨ TiO2 ¸
CS ¨ CS ¸ (6.11)
¨ # ¸
¨¨ P2O5 ¸¸
© CS ¹
JJG JJG
and make similar formulations for C 0 and C L .
The compositions of all individual cumulate minerals can, in the same way, be
recast as a matrix with p elements in rows and n minerals in columns:
§ cPlSiO2 SiO2
cOpx } cnSiO2 ·
¨ TiO2 TiO2 ¸
¨ cPl cOpx } cnTiO2 ¸
CC (6.12)
¨ # # % # ¸
¨¨ P2O5 P2O5
¸
P2O5 ¸
© cPl cOpx } cn ¹
JG
Further defining a vector m with n mineral mass fractions:
§ mPl ·
JJG ¨ ¸
m ¨ mOpx ¸ (6.13)
¨ # ¸
¨ ¸
© mn ¹
Eq. (6.10) can be recast in a more compact (and computer-friendly) form:
JJG JJG
C S = CC × m (6.14)
CS a CS b CS c
~ F2
~ F2 C0 C0
C0 (1) ~ F1
~ F1 C0 (2) ~ (1–F2 )
CL (1) ~ (1– F2 )
~ (1–F1 )
~ (1– F1 )
CL (2) CL (1)
CL (2)
Fig. 6.4 A liquid line of descent governed by a cumulate of constant composition. (a) and (b)
show two different, but numerically equivalent explanations. In (a), the differentiated liquid of
step (t – 1) becomes the primitive liquid of step (t); this is the situation closest to the reality. In
(b), the same process can be described as a succession of evolved liquids formed from the same
primitive melt, but with decreasing F values. Panel (c) shows the resulting pattern, with samples
corresponding to a series of differentiated liquids plotting along a straight line extending from
the cumulate, and the primitive liquid.
The line that relates the series of liquids generated from the same parental magma
(C0) by extraction of a mono- or poly-mineral cumulate with a constant composi-
tion, is called a liquid line of descent. Mass balance implies that the cumulate
composition, CS, falls on the same line (on the side opposite to the liquids).
Changing Cumulate Composition
However, a cumulate with a constant composition is rare in natural systems.
Rather, the cumulate composition often evolves in course of differentiation, pro-
ducing more complex trends. For instance, for two discrete cumulate compositions
(Fig. 6.5a), the resulting line of descent is inflexed, with each segment pointing
towards one specific cumulate. In the case of gradual cumulate evolution, the
trend is a curve that can be regarded as being made of a succession of infinitely
small linear segments (Fig. 6.5b). At any point, the cumulate plots on the tangent
of the curved liquid line of descent. The hump that appears on the trend does not
necessarily imply that some phase appeared or disappeared in the cumulate, and
may just represent a progressive change in cumulate modal composition.
a b
Clinopyroxene Clinopyroxene
CS (9)
CS (2) CS (8)
CaO wt.%
CaO wt.%
Fig. 6.5 The liquid lines of descent controlled by a cumulate of evolving composition: in two dis-
tinct steps (a) and progressively (b), the latter depicted as a series of successive small steps.
6.1 Mass Balance During Crystallization 75
m
+ Pure
Crystals differentiated
Pure
cumulate liquid
C0
h
-ric
tal s
rys ture
C ix
Pure cumulate CS m
SiO2 wt.%
Fig. 6.6 Geochemical patterns generated by crystallization, complicated by partial cumulate ex-
traction. a Conceptual sketch of this situation. b Since mixing is superposed on the liquid line of
descent, the magma compositions can plot on the cumulate side of the line of descent.
Fig. 6.7 Definition of variables used to write the mass-balance equation during partial melting in
a closed system. Cf. Fig 6.1.
76 6 Direct Models
C0 FCL 1 F CS (6.15)
Although this equation is written identically to Eq. (6.6), it is worth noting that
here C0 refers to the solid source (as opposed to the primitive liquid) and CS to the
restite (rather than the cumulate).
As previously [see Eq. (6.8)], the restite composition can be expressed as:
n
CSD ¦ ( m cD )
i =1
i i (6.16)
A peritectic reaction occurs when a new mineral phase is consumed (or formed)
together with the melt. For instance the reaction Opx = Melt + Ol is important dur-
ing melting of mantle peridotites or pyroxenites. A reaction Bt + Pl + Qz + Sil =
Melt + Grt (Clemens and Vielzeuf 1987) is probably one of the main ones in-
volved in crustal melting and granite generation. Peritectic reactions do also take
place during crystallization; e.g., the reaction Melt + Ol = Opx can occur during
the differentiation of basaltic liquids.
6.3 Peritectic Reactions 77
Slight modifications to the simple mass-balance equation for melting (6.15) al-
low writing a new relation taking into account peritectic minerals (Fig. 6.8a):
with Q and CQ referring to the amount, and the composition, of the peritectic
phase, respectively.
This formulation amounts to splitting the solid (the “restite”) into its peritectic,
and non-peritectic portions, i.e. one assumes that some of the restite minerals were
unaffected by the melting. Of course, this is oversimplified; melting tends to be a
multivariant, continuous reaction during which the mineral compositions change.
Thus it is not necessarily possible or meaningful to make this distinction, and the
classical equation may be more appropriate.
In the case of crystallization, different formulations may be written, depending
on the definition of the system considered. Assuming that it includes the initial
melt (C0), and the eventually consumed minerals (CQ), the mass balance gives
(Fig. 6.8b):
In this case, (1 – F) does not reflect the degree of crystallization anymore. Liquid
was present in certain amount (1 – Q) before the fractionation event described.
The proportion of melt consumed (i.e., the degree of crystallization) is therefore:
F
1 (6.20)
(1 Q)
a DIFFERENTIATED
SOLID MELT
SOURCE
Melting
CL F
C0 1
PERI. MIN
CQ RESTITE
Q CS 1–F–Q
b
PERITECTIC MINERAL
PRIMITIVE DIFFERENTIATED
CQ MELT MELT
Crystallization
CL F
C0 1–Q
Q
CUMULATE
CS 1–F
Fig. 6.8 Definition of variables used to write the mass-balance equations including peritectic
phases during closed-system melting (a) or crystallization (b). For explanation, see text.
78 6 Direct Models
nSTART nEND
with the mass fractions of each initial, and final phases summing up to 1:
nSTART nEND
¦ i
mSTART ¦m
i
END 1 (6.22)
Clearly, all the mass-balance equations written so far were special cases of this
general formulation.
6.4 Mixing
CM= f1 C1 + f2 C2 CM = f1 C1 + f 2 C2 + f 3 C3
End-member 2 End-member 1
= f1 C1 + (1–f1 ) C2
C2MgO ~ f1 C1
C2
Mixture
MgO wt.%
Mixture
MgO wt.%
~1
CMMgO
–f 1
CM ~ f2 = 1–f1 CM
~ 1– f
2
f3
~ 1–
End-member
1 C3 C2
C1MgO End-member 2
C1 End-member 3
a b
SiO2
C2SiO 2
CMSiO 2 C1 SiO2 wt.%
SiO2 wt.%
Fig. 6.9 Graphical expression of mass balance during mixing. a Mixing between two end-
members, 1 and 2, in a binary diagram involving concentrations of arbitrary two elements (or ox-
ides), here SiO2 and MgO. Note that the pattern is indistinguishable from the one generated by
crystallization (or melting), cf. Fig. 6.2. b Mixing between three end-members, 1 to 3. The prod-
ucts of the mixing plot in the grey triangle (a polygon, if more end-members are involved).
6.4 Mixing 79
This is nothing else than a weighted average of individual components, and the
binary mixing Eq. (6.23) is its special case. In a binary diagram, the components
of the mixing define a polygon (Fig. 6.9b), and the mixture is located therein (spe-
cifically at the center of mass, assuming the weight of each apex is fk). In three-
dimensional diagrams, the mixing region is a polyhedron with m apices (and in a
p-dimension diagram, a hyper-volume with m apices).
As discussed in Sect. 6.1.3, this equation can also be written
JJJGin a matrix form,
with the concentration of the mixture expressed as a vector C M of p (elements)
JG
length and the mass fractions of each end-member forming a vector f of m
(end members) length. Moreover, the compositions of the end-members are recast
as a matrix C E of p (elements) rows and m (end members) columns. Equation
(6.24) becomes, in matrix form:
JJJG JG
CM = CE × f (6.25)
By now it should be clear that the mass-balance formulations used for crystalliza-
tion, melting and mixing are effectively the same. Indeed, generating a differenti-
ated melt CL from a parental melt C0, with a cumulate made of n minerals is
equivalent to mixing the cumulate minerals with the differentiated liquid in order
to recover the composition of the parental liquid. In this case, if F is the melt frac-
tion, and m the mineral proportions in the cumulate, the proportions in the mixing
are F for the melt and (1 – F) × mi for each mineral i. The mass-balance equation
can be expressed as:
n
C0D FCLD (1 F )¦(mi ciD ) (6.26)
i =1
with:
§ (1 F )mPl ·
¨ ¸
JJG ¨ (1 F )mOpx ¸
fc ¨ # ¸ (6.28)
¨ ¸
¨ (1 F )mn ¸
¨ ¸
© F ¹
and:
§ cPlSiO2 SiO2
cOpx } cnSiO2 CLSiO2 ·
¨ TiO2 ¸
¨ cPl
TiO2
cOpx } cnTiO2 CLTiO2 ¸
C (6.29)
¨ # # % # # ¸
¨¨ P2O5 ¸
© cPl cOP2pxO5 } cnP2O5 CLP2O5 ¹¸
Again, this approach will prove to be very useful when solving reverse problems
(Chap. 7).
Reference
Clemens JC, Vielzeuf D (1987) Constraints on melting and magma production in the crust. Earth
Planet Sci Lett 86:287–306
Chapter 7
Reverse Models
In the case of fractional crystallization, examining Eq. (6.27) reveals that the fol-
lowing parameters remain to be determined (assuming the composition CLD of the
differentiated lava is known from sampled rocks):
1
The following discussion is written for crystallization but the same logic can be applied to melt-
ing. Mixing is slightly different and thus it is addressed separately in Sect. 7.3.
.1
eq
eq. 2
(a)
X2
(b)
eq. 4
eq
.3
X1
Fig. 7.1 Two unknowns and four equations: the system is overdetermined and has no exact solu-
tion. However (a) is an approximated one. It is the best least-square solution (it minimizes the
distance to all four equations). Even though (b) is not the mathematical “best” solution, it is only
marginally worse and may be geologically more realistic.
2
It is very unlikely that n > p (in which case the system would be under-determined, and have an
infinity of solutions). Whereas this could happen from a numerical or geochemical point of
view, the phase rule actually precludes such a situation. Crystallization is a multivariant process
(at least the temperature and the composition of the melt phase do change!), so if the variance v
2, the phase rule v = p (number of chemical components) + 2 – n (number of phases) implies
that it is impossible to have n > p.
7.2 Least-Square Solution to Crystallization/Melting … 83
The sum of squares of residuals R2 is a useful quantifier for the goodness of fit:
JJG JJJG 2
R2 C0* C0 (7.3)
For further details on the least-square method and its implementation in R, see
Appendix C, Albarède (1995) and Janoušek and Moyen (2014).
As previously, R2 gives an estimate of the quality of the model, i.e. whether the
composition observed can really be explained in terms of mixing.
A special case of such reverse mixing is that of the modal recalculations. Knowing
the mineral compositions, it is possible to recast them into the composition of any
given rock. This approach is used routinely in experimental petrology to obtain the
likely mode (in wt. %) from run-product analyses.
References
Albarède F (1995) Introduction to geochemical modeling. Cambridge Univ Press, Cambridge
Fourcade S, Allègre CJ (1981) Trace-elements behavior in granite genesis—a case-study the
calc-alkaline plutonic association from the Querigut Complex (Pyrenées, France). Contrib
Mineral Petrol 76:177–195
Janoušek V, Moyen J-F (2014) Mass balance modelling of magmatic processes in GCDkit. In:
Kumar S, Singh RN (eds) Modelling of magmatic and allied processes. The Society of Earth
Scientists Series, vol 83. Springer, Berlin, pp 225–238
3
In the case of a binary mixing, the problem can be simplified and a graphical method known as
the “mixing test” (Fourcade and Allègre 1981) applied (Sect. 21.4).
Chapter 8
Forward Modelling in R
Table 8.1 gives major-element compositions of a Mauna Kea picrite (Matzen et al.
2011) and of an ideal olivine (Fo90).
Table 8.1
MaunaKea.data
Assuming that the chemistry of picrite corresponds to that of the parental melt,
calculate the compositions of fractionated magma after 5, 10, 20 and 35% crystal-
lization of the ideal olivine.
From the mass-balance equation (6.6), one can derive for the fractionated magma
composition (CL) for each element (j):
C0j cOlj Fc
CLj (8.1)
(1 Fc )
Table 8.2 contains analyses of Sázava tonalite (Janoušek et al. 2004) and some of
its rock-forming minerals (Janoušek et al. 2000):
Table 8.2
sazava_fc.data
j C0j CSj Fc
C (8.2)
(1 Fc )
L
> # Results
> res <- cbind(c0,cl1,cl2,cl3)
> print(round(res,3)) # print the results, rounded off
c0 cl1 cl2 cl3
SiO2 48.14 53.167 54.636 55.495
CaO 5.99 9.983 10.282 7.670
> # Plot
> plot(c0[1],c0[2],xlab=expression(SiO[2]),ylab="CaO",xlim=c(45,60),
+ ylim=c(4,11),pch=16,cex=2)
> arrows(c0[1],c0[2],cl1[1],cl1[2],col="darkred",lwd=1.5)
> arrows(cl1[1],cl1[2],cl2[1],cl2[2],col="darkblue",lwd=1.5)
> arrows(cl2[1],cl2[2],cl3[1],cl3[2],col="darkgreen",lwd=1.5)
8 Major Elements 89
∗Cpx
11
a b
20
10
15
9
8
CaO
CaO
10
0.6Ol +
∗
7
0.4Cpx
Fractionated
6
Primary melt
5
melt
5
Ol
∗
4
0
45 50 55 60 40 45 50 55 60
SiO2 SiO2
Fig. 8.1 Sequential fractionation of Ol, Ol + Cpx mixture, and Cpx (Exercise 8.3). Output of the
code (a) and conceptual model (b). In (b) are also shown the three cumulates, and a gray box de-
noting the field of view of figure (a).
Table 8.4
C0j FCLj
CSj (8.3)
(1 F )
90 8 Forward Modelling in R
> # Build matrix with two columns of the input data, fill along rows
> qq <- matrix(c(15,0.7,4,0.17,1,0.4),ncol=2,byrow=TRUE)
> colnames(qq) <- c("Al2O3","TiO2")
> rownames(qq) <- c("basalt","fertile","depleted")
> # Plot the diagram
> plot(qq[,"Al2O3"],qq[,"TiO2"],xlim=c(0,16),ylim=c(0,1),
+ xlab=expression(Al[2]*O[3]),ylab=expression(TiO[2]),
+ xaxs="i",yaxs="i") # no extra space at axes
> text(qq[,1],qq[,2]+0.03,rownames(qq),adj=c(0.5,0))
> ff <- 0.1 # degree of melting
> residue <-(qq["fertile",]-ff*qq["basalt",])/(1-ff) # [Eq.(8.3)]
> points(residue[1],residue[2],pch=8,col="red")
> print(residue,3)
Al2O3 TiO2
2.778 0.111
basalt
0.6
TiO2
depleted
0.4
fertile
0.2
0.0
0 5 10 15
Al2O3
Fig. 8.2 Mass balance of fertile mantle peridotite partial meting (Exercise 8.4). The asterisk indi-
cates the residue after 10 % melting.
8 Major Elements 91
Table 8.5
gabbro_modal.data
GCDkit-> print(WRComp(mins,m))
SiO2 Al2O3 FeOt MgO CaO Na2O
48.125 15.850 5.625 16.340 12.360 1.700
92 8 Forward Modelling in R
References
Table 9.1
sazava_fc2.data
Granitic melt is extracted from a metasediment. The melt and sediment composi-
tion, as well as possible restitic minerals, are given in Table 9.2.
Table 9.2
paragneiss_melting.data
In this exercise we will once more use the least-square method. In this case we
will try to recombine the melt and various minerals in the residue to reproduce the
(unmelted) source composition.
> x <- read.table("paragneiss_melting.data",sep="\t")
> x <- as.matrix(x) # convert for matrix multiplication
> c0 <- x[,1] # paragneiss composition
> cc <- x[,-1] # melt and residual minerals matrix
> ee <- lsfit(cc,c0,intercept=FALSE)
> ff <- ee$coeff[1] # degree of partial melting
> z <- ee$coeff[-1] # if these are normalized to sum up to 1
9 Major Elements 95
paragneiss_melting.data
x Given the compositions of the paragneiss, the residual minerals and of the melt,
what is the chemical and modal composition of the restite after 40% melting?
Here we are going to combine direct and reverse approaches. First we calculate
the bulk composition of the residue using mass-balance equation (analogous to
Exercise 8.4), and then we recast it to individual minerals using the least-square
algorithm (“normative calculation”).
> x <- read.table("paragneiss_melting.data",sep="\t")
> x <- as.matrix(x) # convert for matrix multiplication
> c0 <- x[,1] # paragneiss composition
> cl <- x[,2] # melt chemistry
> mins <- x[,-c(1,2)] # mineral compositions
> ff <- 0.40 # degree of partial melting
> res <- (c0-ff*cl)/(1-ff) # mass balance for residue [Eq. (8.3)]
> print(round(res,2))
SiO2 Al2O3 Fe2O3 MgO CaO Na2O K2O TiO2
61.00 17.04 8.91 3.04 1.87 4.33 2.77 1.04
Table 9.3
wt. % gabbro Pl Ol Di
gabbro_modal2.data
x Given the analyses of a gabbro and its mineral constituents (Table 9.3), esti-
mate the wt. % of individual minerals using the least-square method.
###################################
# Unconstrained LQ #
###################################
Estimated mineral proportions (%):
Pl Ol Di Sum
50 30 20 100
Rsquared: 0
Pl Ol Di estimated difference
SiO2 48.125 50.54 39.19 55.49 48.125 0
Al2O3 15.850 31.70 0.00 0.00 15.850 0
FeOt 5.625 0.00 18.75 0.00 5.625 0
MgO 16.340 0.00 42.06 18.61 16.340 0
CaO 12.360 14.36 0.00 25.90 12.360 0
Na2O 1.700 3.40 0.00 0.00 1.700 0
GCDkit-> ModeC(rock,t(mins)) # same, but constrained least-squares
###################################
# Constrained LQ (Albarede 1995) #
###################################
Estimated mineral proportions (%):
Pl Ol Di Sum
50 30 20 100
Rsquared: 0
Pl Ol Di estimated difference
SiO2 48.125 50.54 39.19 55.49 48.125 0
Al2O3 15.850 31.70 0.00 0.00 15.850 0
FeOt 5.625 0.00 18.75 0.00 5.625 0
MgO 16.340 0.00 42.06 18.61 16.340 0
CaO 12.360 14.36 0.00 25.90 12.360 0
Na2O 1.700 3.40 0.00 0.00 1.700 0
1
In this text the term “trace element” implies low whole-rock content. However, such an element
can still be the main component of an accessory mineral, as is the case for Zr in zircon
(ZrSiO4).
100 PART III Modelling Trace Elements
References
Hanson GN, Langmuir CH (1978) Modelling of major elements in mantle–melt systems using
trace element approaches. Geochim Cosmochim Acta 42:725–741
Henry W (1803) Experiments on the quantity of gases absorbed by water, at different
temperatures, and under different pressures. Phil Trans R Soc London 93:29–274
Holland TJB, Powell R (1998) An internally consistent thermodynamic dataset for phases of
petrological interest. J Metamorph Geol 16:309–343
Kelsey DE, Powell R (2011) Progress in linking accessory mineral growth and breakdown to
major mineral evolution in metamorphic rocks: a thermodynamic approach in the Na 2O–
CaO–K2O–FeO–MgO–Al2O3–SiO2–H2O–TiO2–ZrO2 system. J Metamorph Geol 29:151–166
Spear FS (1994) Metamorphic phase equilibria and pressure–temperature–time paths.
Mineralogical Society of America Monographs. Mineralogical Society of America,
Washington
Chapter 10
Dilute Trace Elements: Partition Coefficients
Minerals can be regarded as piles of O atoms, leaving gaps (“sites”) for cations in
between. Depending on the size of the site and the global charge balance in the
crystal, different ions can fit in. For instance in silicates, tetrahedral sites are
smaller than octahedral ones. Therefore a tetrahedral site can accept Si4+ or Al3+
but not Ca2+ or Mg2+ that, in turn, can fit in an octahedral site. In addition, the
electric charge of ions must be such that the charge balance of the mineral is pre-
served. It is thus possible to replace (“substitute”) an ion by another one with the
same or similar physical properties (size and charge). The better the match, the
easier/more extensive the substitution could be. This means that elements can be
more or less compatible with the crystal lattice.
1
Various geochemistry texts use different symbols for the partition coefficients, defined here,
and the bulk distribution coefficients of the Sect. 10.4. We employ KD for partition coefficients
(single mineral) and D for the bulk distribution coefficients (several minerals combined).
KD >1 : COMPATIBLE
hbl/L cpx/L grt/L
50 KD KD KD rhyolite
Partition coefficient
rhyolite dacite
10
basalt
5 dacite
rhyolite
1 dacite
KD < 1 : INCOMPATIBLE
0.5 basalt
basalt
0.1
0.05
Fig. 10.1 Graphical representation of REE partition coefficients in selected rock-forming miner-
als in equilibrium with liquids of different compositions (Arth 1976; Hanson 1980). Although
this figure resembles classical spidergrams, the values shown are not normalized concentrations,
but partition coefficients. Note that while the partition coefficients for individual phases may
change by an order of magnitude as a function of melt composition, the overall shapes of these
curves tend to be preserved.
2
In fact, a partition coefficient can be determined both for major and trace elements, but Henry’s
Law does not apply for elements whose concentration in the crystals is too high.
10.3 Controls on the Values of Partition Coefficients 103
The KD values are equally sensitive to temperature (Fig. 10.2a). However, both
temperature and melt compositions are normally tightly correlated. There is also a
certain influence of pressure, albeit usually minor.
Finally, the redox state of the system influences the KD values. This behaviour
is well documented for Eu in plagioclase (Fig. 10.2b), but this is the case for all
elements that commonly occur in several oxidation states (Ce, V, U...).
0.9 10
a b
5
–13
0.8 fO2 = 10
–10
1 fO2 = 10
0.7 –8
fO2 = 10
(Sr)
0.5
Pl/L
Pl/L
KD
–6
fO2 = 10
ln KD
0.6
0.1
0.5
0.05
0.4 Pl/L
Ln K D (Sr) = 1521/T – 9.909
0.01
6.8 6.9 7.0 7.1 7.2 La Ce Nd Sm Eu Gd Dy Er Yb Lu
104/T (K–1)
Fig. 10.2 Controls on partition coefficients. a A 10 4/T vs. ln K DPl/L graph for Sr in plagioclase
(Sun et al. 1974) showing that the partition coefficient is strongly dependent on temperature.
b K D for REE in plagioclase, as a function of oxygen fugacity (Drake and Weill 1975). The de-
crease in oxygen fugacity (reducing environment) results in an increase of the KD(Eu) value. Re-
gardless of fO2, the KD value for Eu in plagioclase is much higher than for any other REE, which
is commonly the cause of negative Eu anomalies in many magmatic rocks.
On the other hand, Henry’s Law implies that the KD value does not depend on the
concentration of the (dilute) trace element in the system (or in its subcomponents).
The maximum concentration below which this approximation remains valid is not
rigorously defined, though. All the models described in Chapters 11–12 implicitly
assume that KD is independent of concentration.
When the cumulate or the residue contains several mineral phases, the situation
becomes more complex. Each mineral equilibrates with the liquid according to its
own KD. Thus, the concentrations in each phase are affected not only by the total
content of this element in the system, but also by the nature and the relative
abundance of the other fractionating minerals. Imagine a system where a mag-
matic liquid equilibrates with two minerals (in comparable abundances), one with
104 10 Dilute Trace Elements: Partition Coefficients
high KD, and another with low KD. The high-KD phase would extract from the liq-
uid almost all the element—leaving even less available for the low-KD one.
This leads to the concept of a “bulk distribution coefficient”, D, that accounts
for the behaviour of the solid phases as a whole. It can be expressed as the ratio of
the concentration in the bulk solid (CS) and in the liquid (CL):
S/L CSD
DD (10.2)
CLD
Contrarily to CL that is a single phase, CS refers to the bulk solid, which is typi-
cally made of several minerals. Consequently, the trace-element content in the
cumulate (or residue) can be expressed as a mixture of n mineral phases. There-
fore, the mass-balance reads:
n
CSD ¦m cD
i =1
i i
(10.3)
References
Arth JG (1976) Behavior of trace elements during magmatic processes: a summary of theoretical
models and their applications. J Res US Geol Surv 4:41–47
Bédard J (2005) Partitioning coefficients between olivine and silicate melts. Lithos 83:394–419
Drake MJ, Weill DF (1975) Partition of Sr, Ba, Ca, Y, Eu2+, Eu3+ and other REE between pla-
gioclase feldspar and magmatic liquid: an experimental study. Geochim Cosmochim Acta
39:689–712
Hanson GN (1980) Rare earth elements in petrogenetic studies of igneous systems. Ann Rev
Earth Planet Sci 8:371–406
Sun C-O, Williams RJ, Sun S-S (1974) Distribution coefficients of Eu and Sr for plagioclase–
liquid and clinopyroxene–liquid equilibria in oceanic ridge basalt: an experimental study.
Geochim Cosmochim Acta 38:1415–1433
Chapter 11
Direct (Dilute) Trace-Element Models
11.1 Crystallization
CL (4)
CLβ(4)
CL (3)
CL (2)
CL (1) ~ (1 – F4)
~ F4
β
CS (4) C0
CSβ (4)
log(β)
CS (3)
CS (2)
CS (1)
log(α)
CSα (4) CLα(4)
α
Fig. 11.1 A graphical representation of the mass-balance during batch crystallization (DĮ = 0.05,
Dȕ = 0.7). At every stage of the process (1–4), the mass-balance holds: CS, C0 and CL are linearly
aligned (dashed lines). The F progressively decreases: CS approaches C0 (reaching it, when the
whole system is solid) whereas CL starts at C0 and moves away from it. The trajectories of both
CS and CL are curved. The distribution coefficient, D, has no simple graphical expression here.
However, in the logarithmic coordinates (inset), both the horizontal, and the vertical distances
between CL and CS (and therefore the slope of the dashed connecting line) remain constant at all
stages. On the other hand, the mass-balance constraint has no simple graphical expression in log
coordinates, as Eq. (11.1) implies no particular relationships between log(C0), log(CS) and
log(CL). Batch melting would result in the same pattern, except that CL would move towards, and
CS away from, C0 with increasing F values.
The CL above then represents the maximum value that can be attained by
Rayleigh-type fractionation at a given F.
Two equations (11.5) can be combined for a ratio of two elements, Į and ȕ:
§ CD · § C D · ( DD DE )
¨ E¸ ¨ E¸ F (11.7)
© C ¹L © C ¹0
Clearly, the ratio of two elements with the same D (DĮ ~ Dȕ) remains nearly con-
stant in course of crystallization, still mimicking that of the parental melt.
108 11 Direct (Dilute) Trace-Element Models
When it forms, the cumulate is in (local) equilibrium with the melt. From
Eq. (10.2) we derive its instantaneous composition (C S. inst):
CS .inst
DCL DF ( D 1) (11.8)
C0
Each cumulate fragment is immediately removed but still may be accumulated
elsewhere (e.g., at the bottom or walls of the magma chamber). Therefore, it may
be more sensible to calculate the bulk (or aggregated) composition of the cumulate
(i.e., the time-integrated composition of all instantaneous cumulates). From the
mass-balance relation as well as the liquid composition [Eq. (11.5)] we obtain:
CS .bulk 1 FD
(11.9)
C0 1 F
that, for strongly compatible elements (D ب1), changes into:
CS .bulk 1
(11.10)
C0 1 F
Batch liquids
Batch solids
Frac. liquids
Frac. solids (inst)
CS.bulk (1)
Frac. solids (bulk)
~
F
CS.bulk (2) 1
~F
CS.bulk (3) 2
~F
CS.inst (1) 3
C0
β
~
(1
– ~ ( ~ (1 –
F 1– F)
CS.inst (2) 1 ) F 3
2)
CL (1) CL (2)
CS.inst (3) CL (3)
α
Fig. 11.2 A graphical representation of the fractional crystallization of an incompatible (ĮDĮ =
0.3) and a compatible (ȕDȕ = 2) elements. Mass-balance applies to the whole system, i.e. the
bulk solid and the liquid. On the other hand, there is no mass-balance link between the instanta-
neous solid, and the liquid (i.e., the composition C0 does not plot on the tie-line between CS.inst
and CL). Inset compares the liquid evolution during the fractional and batch crystallization (the
same coordinates). The former produces more “extreme” compositions, richer in incompatible
elements (Į) but poorer in compatible ones (ȕ). As in Fig. 11.1, the partitioning has no simple
graphical meaning in linear coordinates (but would generate tie-lines of constant slope and length
between liquid and instantaneous solid in log coordinates).
11.1 Crystallization 109
Liquids
Unlike batch crystallization, fractional crystallization is a very efficient way of
quickly removing compatible elements from the melt (Fig. 11.3). For incompatible
elements, however, the difference between fractional and batch processes is small,
except at very low F (i.e. extreme crystallization). In both cases, there is an upper
limit on the concentration that can be reached by crystallization [Eq. (11.6)]: for
D = 0, both Rayleigh’s and Shaw’s equations collapse to CL/C0 = 1/F. This creates
a ‘Forbidden domain’ that no liquid can enter in the F vs. CL/C0 diagram (Fig.
11.3). Very low values of D generate curves that are very close to the border of
this domain, to the point of being practically undistinguishable.
Solids
It is important to distinguish between batch solids, on the one hand, and bulk and
instantaneous solids generated by Rayleigh-type processes, on the other. At F = 0,
batch and bulk solids (but not Rayleigh instantaneous solids) converge towards
Cs/C0 = 1 since the system is fully solidified. There is also a ‘Forbidden domain’,
for very high values of D, defined by Eq. (11.10). Instantaneous solids, however,
do not follow mass-balance constraints; the corresponding curves may enter the
‘Forbidden domain’, and do not converge to CL/C0 = 1. Again, for incompatible
elements, the differences are minute. On the other hand, Rayleigh instantaneous
solids are quickly impoverished in compatible elements (as they are in equilibrium
with strongly depleted liquids), compared to bulk and batch solids.
100
100
b – Solids
Batch crystallization (or melting)
Forbidden domain Rayleigh crystal. – instantaneous solid
(above D = 0) Rayleigh crystallization – bulk solid
10
10
CS/C0
CL/C0
1
1
0.1
0.1
a – Liquids
Batch crystallization (or melting)
Rayleigh crystallization
0.01
0.01
D = 0.01 D = 0.01
D = 0.5 D = 0.5
D=2 D=2
D=5 D=5
0.001
0.001
1.0 0.8 0.6 0.4 0.2 0.0 1.0 0.8 0.6 0.4 0.2 0.0
F F
Fig. 11.3 Comparison between batch and fractional crystallization models as a function of F.
Colours correspond to different D values, and line stroke to the individual models. Note that the
horizontal scale is reverted, as the liquid fraction F decreases with progressive crystallization.
The ‘Forbidden domain’ corresponds to the grey areas.
110 11 Direct (Dilute) Trace-Element Models
11.2 Melting
C0
CL (11.11)
D F (1 D)
CL.bulk 1 − (1 − F )1/ D
= (11.14)
C0 F
100
b – Solids
Batch melting (or cryst.)
Forbidden domain Fractional melting
10
10
(above D = 0) D = 0.01
D = 0.5
D=2
D=5
CS/C0
CL/C0
1
1
0.1
0.1
D = 0.01
D = 0.5
D=2
0.01
0.01
a– Liquids D=5
Batch melting (or crystallization)
Fractional melting – instantaneous liq.
Fractional melting – aggregated liq.
0.001
0.001
0.0 0.2 0.4 0.6 0.8 1.0 0.0 0.2 0.4 0.6 0.8 1.0
F F
Fig. 11.4 Comparison of batch and fractional melting. These diagrams are analogous to Fig.
11.3, except that the melt fraction F increases with progressive melting. The melts (a) converge
towards CL/C0 = 1 for F = 1, with a notable exception of the instantaneous melt of fractional
melting, which is not tied by mass-balance constraints, and can also enter the ‘Forbidden do-
main’. The evolution of complementary solids (residues) is shown in (b).
exactly the same mineral proportions. In order to account for this situation, some
authors invoked the concept of “non-modal” melting. They proposed using two
different bulk distribution coefficients, one for the original (unmelted) source
(D0) and another (DP) for the mineral assemblage entering the melt:
n
D0D ¦m
i 1
0i K Di /DL (11.15)
n
DPD ¦p K
i 1
i
i/ L
DD
(11.16)
where m0 are the mineral proportions in the (unmelted) source, and p the contribu-
tions of each mineral phase to the melt (Fig. 11.5).
SOLID
SOURCE
Fraction
the melt
entering
pA PRIMITIVE MELT
MELT
p F
B
Melting
remaining
C0 1-p
Fraction
solid
mA
mB
Mineral A Mineral B
m0.A m0.B
Fig. 11.5 Definition of the various mineral proportions used in the alternative melting formula-
tions in the case of two minerals A and B. m0 corresponds to the mode of the solid source before
melting. Only a fraction of the original minerals contributes to the melt, with mineral proportions
p, that are distinct from m0 (except in the rare case of modal melting). On the right, m correspond
to the proportions of minerals present in the restite after melting; m0i = Fpi + (1 – F)mi.
¦m0i
i 1
¦mi
i 1
¦p
i 1
i 1 (11.17)
The original definition of the batch melting equation [Eq. (11.11)] may be
superior in that it takes into account modal proportions after melting. Thus
it can be applied universally, for modal as well as non-modal melting. On the
other hand, it requires knowledge (or assumptions) of the modal composition of
the restite that may or may not be easier to obtain than the initial modal composi-
tion of the source prior to melting.
Analogous notation can be used to describe fractional melting:
⎛ 1 ⎞
⎜ −1⎟
C0 ⎛ DP F ⎞ ⎝ DP ⎠
CL.inst = ⎜1 − ⎟ (11.20)
D0 ⎝ D0 ⎠
Analytical approach
Equation (11.5) can be adapted to the case of variable D. For instance, when D is
a linear function of F, D a bF , it becomes (Greenland 1970):
dCL dF
(a bF 1) (11.22)
CL F
C0e¬
ª a 1 ln F b ( F 1)º¼
CL (11.23)
114 11 Direct (Dilute) Trace-Element Models
Numerical approach
A more empirical approach consists in breaking down the melting (or crystalliza-
tion) process into several successive steps, during each of which D can be as-
sumed to be constant. For each stage t, C0(t) is taken as being the end-product of
the previous one (CL(t–1)); thus D is calculated using the modal composition of
the cumulate/residue stable during the specific step. This modal composition can
be constrained by petrology, experimental data or otherwise [Worked Example 2].
11.3 Mixing
The mixing equation for individual (major or trace) elements relies on a simple
mass balance, and consequently, it does not invoke any partitioning at all. There-
fore, Eq. 6.24 established for the major-elements is also applicable for traces, and
the graphical representation remains the same (cf. Fig. 6.9):
m
CM ¦( f C )
k 1
k k
(11.24)
step-by-step derivation of the formulae shown in Zou (2007). Based on Eq. (11.25),
we can write for each of the ratios:
§ v ¸· v1 f1 v2 1 f1 § u· u1 f1 u2 1 f1
xm ¨ , ym ¨ ¸ (11.26)
© b¹ m b1 f1 b2 1 f1 © a¹ m a1 f1 a2 1 f1
b1 x1 f1 b2 x2 (1 f1 ) a1 y1 f1 a2 y2 (1 f1 )
xm , ym (11.27)
b1 f1 b2 (1 f1 ) a1 f1 a2 (1 f1 )
b2 x2 xm a2 y2 ym
(11.28)
b1 b2 xm b1 x1 b2 x2 a1 a2 ym a1 y1 a2 y2
1
é v1 u1 ù
ê , ú
ë b1 a1 û
y = u/a
é v 2 u2 ù
ê , ú
ë b2 a2 û
2
x = v/b
Fig. 11.6 Schematic drawing of a mixing hyperbola in the x = v/b vs. y = u/a coordinates.
and thus: ym
Axm D (11.30)
Bxm C
In a x–y plot, this equation defines a hyperbola whose curvature is controlled by B
(and becomes a straight line if B = 0).
116 11 Direct (Dilute) Trace-Element Models
The coefficients A, B, C, D for the general mixing hyperbola [Eq. (11.29)] are
presented in Table 11.1 for two independent trace-element ratios v/b and u/a. This
table also shows some special cases encountered in igneous geochemistry (such as
ratio–ratio plots with a common denominator or element–ratio plots) (see also
Langmuir et al. 1978; Zou 2007).
Table 11.1 Various cases of the general mixing hyperbola equation [Eq. (11.29)]
Becomes
Binary plot Further Coefficients
x y Coefficients a straight line
type constraints (using the ratios)
(B= 0) when:
A a2 y2 a1 y1 A u2 u1
B a1 a2 B a1 a2
element–ratio v u/a b=1 a1 a2
C a2 x1 a1 x2 C a2 v1 a1v2
D a1 x2 y1 a2 x1 y2 D v2u1 v1 u2
A a2 y2 a1 y1 A u2 u1
element–ratio
(same element b = 1, B a1 a2 B a1 a2
a u/a a1 a2
on both axes) v=a C 0 C 0
D a1a2 y1 y2 D a2u1 a1 u2
A y2 y1 A u2 u1
B 0 B 0
two elements v u a=b=1 Always
C x1 x2 C v1 v2
D x2 y1 x1 y2 D v2u1 v1 u2
11.4 Assimilation and Fractional Crystallization (AFC) 117
The AFC model describes the compositional evolution of a magma that undergoes
simultaneous assimilation and fractionation. This is, for instance, the case of a
mantle-derived magma contaminated by the continental crust through which it as-
cends. The model assumes that the extra heat needed for assimilation (which is an
endothermic process) is provided by the latent heat of crystallization. Already
O’Hara (1977) developed equations describing trace-element (and isotope) behav-
iour during open-system fractionation in a periodically recharged magma chamber
with assimilation. The forward AFC model was elaborated by Allègre and Minster
(1978), Taylor (1980) and De Paolo (1981).
CA = concentration in
the assimilant CL = concentration in
the magma
CS = DCL = concentration in
r = rate of assimilation to the crystallizing minerals
fractional crystallization
C0 = initial concentration in
the magma
Fig. 11.7 Schematic representation of the AFC process for trace elements (after De Paolo 1981).
with WL, WC and WA referring to the amounts of the given element in the melt,
crystallized phases and assimilated material, respectively. The evolution of the
magma chemistry is then controlled by interplay of two key parameters: D, the
bulk distribution coefficient and r, rate of assimilation to fractional crystallization
(i.e., the mass ratio of material assimilated to that crystallized) (De Paolo 1981):
x
WA
r x
(11.32)
WC
Defining the fraction of the liquid remaining, F:
W0 WC WA
F , (11.33)
W0
118 11 Direct (Dilute) Trace-Element Models
using the definition of D, rearranging the Eq. (11.31) and integrating eventually
leads to a somewhat complex formulation (De Paolo 1981; Zou 2007):
CL r CA r D 1
F z (1 F z ) , where z (11.34)
C0 z (r 1) C0 r 1
CL D
1 r CA § D
1 ·
Or, F 1 r ¨ 1 F 1 r
¸ (11.35)
C0 r D 1 C0 © ¹
The formulation for isotopes is treated separately in Sect. 16.2.
It is worth noting that Eq. (11.35) encompasses, as boundary conditions, both
Rayleigh-type fractional crystallization (r ĺ 0 or CA /C0 = 0) and binary mixing
(r ĺ and D = 0).
When D is small, the magma enrichment is more important than during the
simple fractional crystallization (Fig. 11.8).
0
D=0 10 D=1
100
100
10 100
1
10
10
0 10
C0 CL
C0 CL
1
1
0
0.01 0.1
0.01 0.1
1.0 0.8 0.6 0.4 0.2 0.0 1.0 0.8 0.6 0.4 0.2 0.0
F F
D=2 D = 10
100
100
100
10
10
10 100
C0 CL
C0 CL
1
1 10
0.01 0.1
0.01 0.1
1
0
1.0 0.8 0.6 0.4 0.2 0.0 1.0 0.8 0.6 0.4 0.2 0.0
F F
Fig. 11.8 Effects of AFC upon concentration of an element in the melt for various values of bulk
distribution coefficient (D). The curves were calculated assuming r = 2 and are labelled by the
ratios CA/C0; CA/C0 = 0 corresponds to pure fractional crystallization.
11.4 Assimilation and Fractional Crystallization (AFC) 119
CL 1 § C A r ·
| ¨1 ¸ (11.36)
C0 F © C0 (r 1) ¹
On the other hand, for strongly compatible elements (D >> 1) we obtain (if r < 1):
rC A
CL | (11.37)
r D 1
The critical value of r representing a divide between fractionation- and assimila-
tion-controlled AFC (i.e. CL/C0 = 1) can be calculated as (Albarède 1995):
1 D
rc (11.38)
C
1 A
C0
It is worth noting that the original AFC formulation (De Paolo 1981, 1985)
deals only with masses and chemical species (elements and isotopes) but
does not take into account thermodynamic parameters. In natural systems,
thermodynamic constrains put a limit especially on the r value. Indeed,
crystallization is an exothermic process, while assimilation is endothermic. Con-
sequently, the rate of assimilation to fractional crystallization (r) is governed by
the thermal state of the assimilant (Reiners et al. 1995) and is unlikely to exceed 1
(Sect. 24.1.1).
The problem has been tackled by more comprehensive models of Energy-
Constrained Assimilation–Fractional Crystallization (EC-AFC) (Spera and Bohr-
son 2001) or its subsequent modifications with magma recharge and eruption (EC-
E’RAȤFC) (Spera and Bohrson 2004). They are implemented in a stand-alone
program (Bohrson and Spera 2007). However, these approaches require tightly
constrained input parameters as well as a well-known magma plumbing system
(Fowler et al. 2004).
By combining the basic laws described above (mass balance and trace-element
partitioning), it is possible to derive a range of composite models.
Fairly complex equations can be found in the literature, describing a range of
situations (open/closed system, fractionation/batch, crystallization and contamina-
tion, etc.). However, in the light of all uncertainties associated with geochemical
data (analytical errors, sampling bias, alteration…) and their modelling (partition
120 11 Direct (Dilute) Trace-Element Models
This scenario has been already discussed for majors, Sect. 6.1.4. Similar equations
can be derived for trace elements by coupling batch crystallization (the crystals are
not separated from the residual melt!) and mixing equations. For major elements,
both equations are expressed in terms of mass balance, and therefore identical,
which in binary diagrams results in overlapping straight lines.
However, this does not hold for trace elements (Fig. 11.9). In a binary diagram,
the liquid and cumulate compositions plot along curves, while mixing results in
straight lines. So, contrary to major elements, both trends are not superposed. The
mixtures between crystals and liquid plot in an area delimited by the fractionation
curves and the mixing lines, resulting in an irregular array centred on C0. The
composition of the mixture, CM, is given by the mass balance:
Combining this equation with that for the batch crystallization (11.3) gives:
C0 C0
CM fL (1 f L ) D (11.40)
D F (1 D) D F (1 D)
D f L (1 D)
CM C0 (11.41)
D F (1 D)
Apart from bulk distribution coefficients, this equation depends on two parameters (fL
and F ). Therefore it generates a butterfly-shaped array of compositions (Fig.11.9).
3
Note that restite unmixing would be treated in the same way.
11.5 Composite Models 121
CL (3)
CL (2)
β (tr.) ppm
CL (1)
δ (maj.) wt.%
h
-ric CL
quid ures
C0 i
L ixt
CS (3) m
Pure
CS (2) Pure differentiated
cumulate liquid
C0
CS (1) h
-ric
stal res
y
CS Cr ixtu
m γ (maj.) wt.%
α (tr.) ppm
Fig. 11.9 Trace-element effects of crystallization with incomplete crystal separation, compared
with the same figure for major elements (inset, and Fig. 6.6). D and E are trace elements, Ȗ and G
majors. During differentiation, the liquid and the cumulate evolve along the thick black curves.
At any given stage, mixing between the liquid CL and the solid CS defines a dashed straight
line (passing also through C0 ). The compositions of the mixtures at different stages therefore
evolve in the coloured domains. This highlights the difference in modelling strategies: major ele-
ments are treated assuming a cumulate with constant composition, whereas for traces, the constant
parameter is the ratio of concentrations (D).
Using subscripts a (0 a 1) for the contaminant and 0 for the pristine source, the
compositions of the metasomatized source (Cms) and melt CL are:
Cms aCa 1 a C0
CL (11.43)
D F 1 D D F 1 D
122 11 Direct (Dilute) Trace-Element Models
In this scenario, F/a represents the melt balance (gain/loss) during the interactions,
and is a key parameter controlling the final liquid composition (Fig. 11.10).
10 000
2
1/3
F=
F/a = 1/8
1/16
F=
F/a = 1
1/2
F/a = 2 F= Ca
a = 1/2
F/a = 4
F/a = 8 a = 1/4
100
a = 1/8
Fig. 11.10 Fluxed melting applied to the mantle contaminated by a felsitic adakitic melt (Moyen
2009), in a log(Y) vs. log(Sr) diagram. The mixing between the pristine mantle and the contami-
nant yields the curve between C0 and Ca. Various points along this line (for different values of a)
represent the “source” (metasomatized mantle in this case, Cms), that subsequently undergoes
batch melting (the sub-vertical curves rising from the mixing line). The resulting compositions
are plotted for various values of F. As F increases during melting, the melt composition moves
towards the relevant Cms value.
References
Albarède F (1976) Some trace element relationships among liquid and solid phases in the course
of the fractional crystallization of magmas. Geochim Cosmochim Acta 40:667–673
Albarède F (1995) Introduction to geochemical modeling. Cambridge Univ Press, Cambridge
Allègre CJ, Minster JF (1978) Quantitative models of trace-element behavior in magmatic pro-
cesses. Earth Planet Sci Lett 38:1–25
Bohrson WA, Spera FJ (2007) Energy-Constrained Recharge, Assimilation, and Fractional
Crystallization (EC-RAχFC): a Visual Basic computer code for calculating trace element and
isotope variations of open-system magmatic systems. Geochem Geophys Geosyst 8:Q11003
De Paolo DJ (1981) Trace element and isotopic effects of combined wallrock assimilation and
fractional crystallization. Earth Planet Sci Lett 53:189–202
De Paolo DJ (1985) Isotopic studies of processes in mafic magma chambers: I. The Kiglapait
Intrusion, Labrador. J Petrol 26:925–951
Ersoy Y, Helvacı C (2010) FC–AFC–FCA and mixing modeler: a Microsoft© Excel® spreadsheet
program for modeling geochemical differentiation of magma by crystal fractionation, crustal
assimilation and mixing. Comput Geosci 36:383–390
Fowler SJ, Bohrson WA, Spera FJ (2004) Magmatic evolution of the Skye Igneous Centre,
Western Scotland: modelling of assimilation, recharge and fractional crystallization. J Petrol
45:2481–2505
Gast PW (1968) Trace element fractionation and the origin of tholeiitic and alkaline magma type.
Geochim Cosmochim Acta 32:1057–1086
Greenland LP (1970) An equation of trace element distribution during magmatic crystallization.
Amer Miner 55:455–465
Keskin M (2013) AFC-Modeler: a Microsoft® Excel© workbook program for modelling assimi-
lation combined with fractional crystallization (AFC) process in magmatic systems by using
equations of DePaolo (1981). Turkish J Earth Sci 22:304–319
Langmuir CH (1989) Geochemical consequences of in situ crystallization. Nature 340:199–205
Langmuir CH, Vocke RD, Hanson GN (1978) A general mixing equation with application to
Icelandic basalts. Earth Planet Sci Lett 37:380–392
Moyen J-F (2009) High Sr/Y and La/Yb ratios: the meaning of the “adakitic signature”. Lithos
112:556–574.
O’Hara MJ (1977) Geochemical evolution during fractional crystallisation of a periodically
refilled magma chamber. Nature 266:503–507
O’Hara MJ (1993) Trace element geochemical effects of imperfect crystal–liquid separation. In:
Prichard HM, Alabaster T, Harris NBW, Neary CR (eds) Magmatic processes and plate tec-
tonics. Geological Society of London Special Publications, vol 76, pp 39–59
O’Hara MJ (1995) Imperfect melt separation, finite increment size and source region flow during
fractional melting and the generation of reversed or subdued discrimination of incompatible
trace elements. Chem Geol 121:27–50
O’Hara MJ, Matthews RE (1981) Geochemical evolution in an advancing, periodically replen-
ished, periodically tapped, continuously fractionated magma chamber. J Geol Soc London
138:237–277
Petrelli M, Poli G, Perugini D, Peccerillo A (2005) PetroGraph: a new software to visualize,
model, and present geochemical data in igneous petrology. Geochem Geophys Geosyst
6:Q07011
Rayleigh JWS (1896) Theoretical considerations respecting the separation of gases by diffusion
and similar processes. Phil Mag 42:77–107
Reiners PW, Nelson BK, Ghiorso MS (1995) Assimilation of felsic crust by basaltic magma:
thermal limits and extents of crustal contamination of mantle-derived magmas. Geology
23:563–566
Shaw DM (1970) Trace element fractionation during anatexis. Geochim Cosmochim Acta
34:237–243
124 11 Direct (Dilute) Trace-Element Models
Shaw DM (2000) Continuous (dynamic) melting theory revisited. Canad Mineral 38:1041–1063
Shaw DM (2006) Trace elements in magmas: a theoretical treatment. Cambridge University
Press, Cambridge
Spera FJ, Bohrson WA (2001) Energy constrained open-system magmatic processes I: general
model and Energy-Constrained Assimilation and Fractional Crystallization (EC-AFC) formu-
lation. J Petrol 42:999–1018
Spera FJ, Bohrson WA (2004) Open-system magma chamber evolution: an Energy-Constrained
geochemical model incorporating the effects of concurrent Eruption, Recharge, variable
Assimilation and Fractional Crystallization (EC-E’RAχFC). J Petrol 45:2459–2480
Taylor HP (1980) The effects of assimilation of country rocks on 18O/16O and 87Sr/86Sr systematics
in igneous rocks. Earth Planet Sci Lett 47:243–254
Vollmer R (1976) Rb–Sr and U–Th–Pb systematics of alkaline rocks: the alkaline rocks from
Italy. Geochim Cosmochim Acta 40:283–295
Zou H (2007) Quantitative geochemistry. Imperial College Press, London
Chapter 12
Reverse (Dilute) Trace-Element Models
When CL and C0 have been identified, and values of partition coefficients esti-
mated, it is possible to determine proportions (mi) of each mineral (i = 1 to n)
in the cumulate as well as the degree of fractional crystallization (1–F). The key
is to linearize Rayleigh’s Eq. (11.5) for each of the elements (j = 1 to p) (Albarède
1995):
§C ·
D ¦ K
n
ln ¨ L ¸ 1 ln F i/L
1 mi ln F (12.1)
© C0 ¹ j
j Dj
i 1
Similar to major elements (Sect. 7.2), this equation can be written in a matrix
form. Defining the unknown as a vector of length n:
§ m1 ln F ·
JJG ¨ m2 ln F ¸
M=¨ ¸ (12.2)
¨ # ¸
¨ ¸
© mn ln F ¹
§ K D1/1L − 1 … K Dn1/ L − 1·
¨ ¸
D=¨ # % # ¸ (12.3)
¨ K 1/ L − 1 … K n / L − 1¸
© Dp Dp
¹
(n columns for minerals, p rows for elements) and the composition vector [left
hand side of the Eq. (12.1)] as:
§ § CL1 · ·
¨ ln ¨ 1 ¸ ¸
JJG ¨ © 0 ¹ ¸
C
Cv = ¨ # ¸ (12.4)
¨ ¸
¨ § CLp · ¸
¨¨ ln ¨ p ¸ ¸¸
© © C0 ¹ ¹
Eq. (12.1) can be recast in matrix form as:
JJG JJG
Cv = D × M (12.5)
JJG
The Eq. (12.5) can be solved for M by the least-square method (Appendix C).
n
Since ¦m
i =1
i 1 , the sum of all its components is:
JJG n
¦ M = ¦mi ln F = ln F
i =1
(12.6)
JJG
The fraction of melt remaining, F, can be retrieved from M :
JG
F = eΣM (12.7)
§ m1 ·
¨ ¸ JJG
m
¨ ¸= M
2
(12.8)
¨ # ¸ ln F
¨ ¸
© mn ¹
12.2 Reverse Batch Partial Melting 127
CL 1
(12.9)
C0 F
As soon as the F value is determined, the batch melting equation [Eq. (11.11)] can
be modified for each of the p elements:
§ C0 ·
( )
n
¨ ¸ − F = D j (1 − F ) = ¦ K Di / L mi (1 − F ) (12.10)
© L ¹j
C j
i =1
Since F is now known, the equation can be recast in matrix form. Defining the un-
knowns as a vector of length n (for n minerals):
§ m1 (1 − F ) ·
JJG ¨ m2 (1 − F ) ¸
M=¨ ¸ (12.11)
¨ # ¸
¨ ¸
© mn (1 − F ) ¹
§ K D1/1L − 1 … K Dn1/ L − 1·
¨ ¸
D=¨ # % # ¸ (12.12)
¨ K i / L − 1 … K n / L − 1¸
© Dp Dp
¹
(n columns for minerals, p rows for elements) and the composition vector [left
hand side of the Eq. (12.10)] of length p:
128 12 Reverse (Dilute) Trace-Element Models
§ § C01 · ·
¨¨ 1 ¸−F ¸
JJG ¨ © L ¹
C ¸
Cv = ¨ # ¸ (12.13)
¨ ¸
¨ § C0p · ¸
¨¨ p ¸ − F ¸
© © CL ¹ ¹
The Eq. (12.10) can be recast in matrix form as:
JJG JJG
Cv = D × M (12.14)
JJG
and solved for M by the least-square method.
§ m1 ·
¨ ¸ JJG
¨ m2 ¸ = M (12.15)
¨ # ¸ (1 − F )
¨ ¸
© mn ¹
Note that numerical methods can be used to solve any system, even when it
cannot be linearized. In R these algorithms are implemented by several
functions, such as optim or fsolve (the latter of package pracma).
The reverse modelling of binary mixing, i.e. essentially fitting mixing curves
(which are commonly hyperbolae, Table 11.1) to real trace-element analyses, is
best done by the least-square method. However, the approach is essentially the
same, and arguably much more usable, in interpreting the isotope data. For this
reason, the theoretical treatment of this problem is left to Part IV.
Reference
§ c Zr ·
ln ¨¨ ZrZrn ¸¸ 3.80 0.85(M 1) 12900
(13.1)
© CL sat ¹ T
Zr
where T is temperature in K, czircon = 497644 ppm (49.7 wt. %) is the
stoichiometric amount of Zr in an ideal (substitution-free) zircon, and M is a
whole-rock chemical parameter based on cation fractions1:
Na K 2Ca
M (13.2)
Al u Si
Equation (13.1) was determined for a normal peraluminous granite having
M § 1.3, and applies in the range 0.9 < M < 1.7 (Fig. 13.1).
Reversing Eq. (13.1), the zircon saturation temperature can be expressed as:
12900
T (13.3)
§ 497644 ·
ln ¨ Zr ¸ 3.80 0.85 M 1
© CL sat ¹
(2) A revised formulation based on the linear regression of the same experimental
data has been proposed by Kelsey et al. (2008):
§ c Zr · 11574
ln ¨ ZrZrn ¸ 0.679 FM 1.7965
(13.4)
¨ CL ¸ T
© sat ¹
Na K 2(Ca Fe Mg )
FM (13.5)
Al u Si
1
These are cation fractions, i.e. the sum of all major cations, including those not involved in this
equation (Fe, Mg…) must equal 1. Consequently, these values differ from e.g. millications
[Sect. 2.2.2] that are not normalized. Practically, this means that M cannot be calculated with-
out knowing the composition of the magmatic liquid for all major elements.
13.1 Solubility Formulae for Common Accessory Minerals 131
3
5
1.
1.
2
=
=
=
M
M
M
1000
800
)
Zr (p p m
600
400
200
0 1000
1.0 900
1.2
1.4 800
C)
1.6
(°
M 700
T
1.8
2.0 600
Fig. 13.1 Graphical representation of zircon saturation equation [Eq. (13.1), Watson and Harri-
son (1983)]. The Zr saturation value is plotted as a function of the temperature (in °C) and the
parameter M. The dark red lines show the saturation levels for M values of a typical andesite (2),
dacite (1.5) and rhyolite (1.3), or their plutonic equivalents. Saturation levels depend slightly on
M values, and strongly on T (Exercise 14.5). During crystallization, both parameters decrease,
resulting in a drastic drop of the Zr saturation level. For high M (> 1.7), the surface has been ex-
trapolated (white region), as it is out of scope of the original calibration.
(1) Montel (1993) established an equation for LREE (including Gd) saturation in
melts in equilibrium with monazite:
13318
9.50 2.34 D Montel 0.3879 H 2O
6ALLREE sat
e T
(13.6)
132 13 Trace Elements as Essential Structural Constituents …
6A
Gd
CL j
LREE
L sat ¦
j La AWj
(13.7)
REE j
with AWj being the atomic weight of REE jand CL the concentration in ppm.
Montel
D is defined as (in cation fractions):
( Na K Li 2Ca) 1
D Montel u (13.8)
Al ( Al Si)
The monazite saturation temperature can be derived from Eq. (13.6) as:
13318
T
(13.9)
9.5 2.34 D Montel
0.3879 H 2O ln 6ALLREE sat
(2) Monazite is however a solid solution that can include Th and U besides LREE.
Mnz
Hence, Eq. (13.6) must be multiplied by X 6REEPO4 , which is the molar proportion
of the REE-bearing monazite:
6A
LREE Corr
L sat
X 6Mnz
REEPO4 6AL
LREE
sat
(13.10)
(3) Kelsey et al. (2008) established a different formula, resembling their Eq. (13.4)
used for zircon:
§ c 6LREE · 310
ln ¨ 6Mnz ¸ 1.324 FM 7.5852
¨ CL LREE ¸
(13.11)
T
© sat ¹
LREE
The stoichiometric amount of LREE in monazite, (LREE)PO 4, cMnz , is 566,794
ppm and FM is defined by Eq. (13.5). Unlike in Eq. (13.6), the REE are expressed
here in ppm (i.e. weight units).
13.1 Solubility Formulae for Common Accessory Minerals 133
(4) A new calibration accounts for the effects of pressure (Stepanov et al. 2012):
11494 P
ln( C mΣeLREE
lt ) = 16.16 + 0.23 H 2 O − − 19.4 + ln X ΣMREEPO
nz (13.12)
T T 4
where only the concentrations (in ppm) of the light REE (La to Sm) are considered,
H2O is in wt. %, T temperature in K and P pressure in kbar.
REE j
where AL represents the atomic amount of element REEj in the melt, i.e.:
REE
REE j CL j
AL (13.14)
AWj
and X 6Mnz
REEPO4 is the proportion of the REE-bearing end-member in the monazite.
Wj/R is a constant depending on the element (Wj = molar energy in J.mol–1, R =
universal gas constant, 8.31 J/mol–1K–1):
Element Th La Ce Pr Nd Sm Gd
Wj/R –520 –260 –116 31 177 460 750
Note that Eq. (13.11) is not equivalent to Eq. (13.6), and both models predict
(slightly) different total REE in the melt (Fig. 13.2):
6A
Gd
z ¦A
LREE REE j
L L (13.15)
sat
j La
2
Thorium is not a REE, but Montel (1996) proposed to treat it in the same way.
134 13 Trace Elements as Essential Structural Constituents …
T (°C)
1100 1000 900 800 700
[CLLREE ]sat(ppm)
Montel (1993) [all REE]
Montel (1993) [REE partitionning]
Stepanov et al. (2012)
Approx. extent
500
of panel (b)
100 200
0
7.0 7.5 8.0 8.5 9.0 9.5 10.0 600 650 700 750 800 850 900
10000/T (K) T (°C)
Fig. 13.2 Comparison of different monazite solubility equations. In order to make comparison
possible, the “total LREE” of Montel’s Eq. (13.6) has been converted to weight units (ppm), as-
suming that the relative proportions of REE are the same as calculated by Eq. (13.11). Stepanov
et al.’s Eq. (13.12) (at 5 kbar) is based only on five LREE (La to Sm), but the concentrations of
Gd are generally sufficiently low to make little difference. The distinct sets of curves correspond
to an average leucogranite (FM = 1.57, DMontel = 1.01), a S-type biotite granite (FM = 2.23,
D Montel = 1.09) and a granodiorite (FM = 2.40, DMontel = 1.23, probably out of the application field
of the models because of its significant Ca contents). As pointed out by Stepanov et al. (2012), Kel-
sey’s equation predicts very high saturation values, which would imply that monazite should be
nearly always dissolved in melts. However, Kelsey at al.’s formulation has a stronger depend-
ency on the melt composition that offsets this effect to a point. The remaining models give mutu-
ally comparable results, their variation not exceeding 10–20 %.
§ C LSiO2 ·
§ P2 O5 · 8400 + 26400 ¨ − 0.5 ¸
c ¹ − § 3.1 + 12.4 § C L 2 − 0.5 · ·
SiO
ln ¨ P O Ap
¸= © 100 (13.16)
¨ ¨ ¸¸
¨ C L2 5
© ( ) sat . HW
¸
¹
T © © 100 ¹¹
SiO PO PO
where CL 2 and CL2 5 are wt. % in the melt, T is temperature in K and c Ap2 5 is
the stoichiometric P2O5 content in pure apatite (42 wt. %). This equation applies to
melts with 45–75 wt. % SiO2, 0–10 wt. % H2O at a range of crustal pressures.
13.1 Solubility Formulae for Common Accessory Minerals 135
The apatite saturation temperature can be expressed from Eq. (13.16) as:
§ C SiO2 ·
8400 26400 ¨ L 0.5¸
© 100 ¹
T (13.17)
§ ·
¸ 3.1 12.4 §¨ CL 0.5¸·
SiO2
ln ¨¨ P O
42
¸
© CL sat .HW ¹
2 5
© 100 ¹
However, peraluminous melts (A/CNK > 1) are able to dissolve much more apa-
tite than predicted by Harrison and Watson’s (1984) equation. This is due to the
formation of aluminium–phosphate complexes in peraluminous aluminosilicate
melts, in which P5+ is bonded with Al3+ to form AlPO4 species (Mysen et al. 1999
and references therein). Three strategies were proposed to tackle the effect of en-
hanced solubility in peraluminous melts (Fig. 13.3):
(1) Bea et al. (1992)—based on experiments of Holtz and Johannes (1991), they
proposed correcting the saturation values C P2O5
L sat . HW
of Harrison and Watson
(1984) as follows:
6429 A/ CNK 1
CLP2O5 sat
CLP2O5 sat . HW
ue T 273.15
(13.18)
(2) Pichavant et al. (1992) —experimental correction, at 750–1000 °C, 2–5 kbar:
SiO
5900 C 2
C C
3.22 u L 9.31
P2O5
L sat
P2O5
L sat . HW
A / CNK 1 e T 100
(13.19)
(3) Wolf and London (1994) —experimental, at 750 °C and 200 MPa only:
C
P2O5
L sat
3.4 3.1 u A/CNK (13.20)
A/CNK
1.5 1.4 1.3 1.2 1.1 1.0
P2O5 (wt. %)
Bea
4
1
Pichavant
0
650
H&W
700
)
750
°C
800
T(
850
900
Fig. 13.3 Comparison of different apatite solubility equations in peraluminous melts (A/CNK >
1) as a function of temperature and A/CNK. Grey, after Bea et al. (1992); blue, Pichavant et al.
(1992). Dark brown (H&W): original (very low) solubility after Harrison and Watson (1984).
The solubility equations for other accessory minerals are not so well
established. This is unfortunate as, in calc-alkaline magmas, allanite
(LREE,Ca,Y)2(Al,Fe+3)3(SiO4)3(OH) (Klimm et al. 2008) or, in peralu-
minous melts, xenotime (Y,HREE)PO4 (Tropper et al. 2013) have a sig-
nificant effect on REE behaviour.
Titanite (CaTiSiO5) stability may also be approached in terms of solubility (al-
though recent progress in activity–composition laws rather allows to treat it in terms
of thermodynamic equilibria: White et al. 2000). Moreover, there are also some data
on solubility of rutile (TiO2) (Ryerson and Watson 1987; Hayden and Watson
2007; Kularatne and Audétat 2014), and even rarer phases, such as columbite
(Fe2+Nb2O6) (Fiege et al. 2011).
The saturation value of the given ESC controlled by accessory minerals is strongly
dependent on composition and temperature. For instance, mafic/hot magmas can
dissolve large amounts of Zr, much more than any of them typically contains.
Magmas at such conditions are undersaturated (with respect to zircon) and Zr will
behave as a typical incompatible element, following common fractionation (or
melting) paths. In contrast, felsic, cooler magmas can dissolve less Zr: their Zr
contents are typically buffered by solubility.
13.2 Evolution Through Saturation 137
The resulting evolution is thus complex. Considering a fairly basic magma se-
ries that evolves by fractional crystallization, the concentration of the given ESC
in the magma would initially increase, until it reaches the saturation level. From
this saturation point, the ESC concentration would drop, following the saturation
curve. The resulting inflexed pattern resembles the broken-line evolution de-
scribed for major elements (in Sect. 6.1.4). Indeed, it also corresponds to a change
in cumulate modal composition—onset of the relevant accessory phase crystalliza-
tion. In Fig. 13.4, the saturation is reached at ca. 900 °C, for M § 1.7. From this
point on, zircon crystallizes and Zr concentration decreases. For a saturated rock
series, it is possible to read a value of T for each sample: here T evolves from
900 °C at M = 1.7 to about 700 °C at M = 1.2.
The position of the saturation point depends on several parameters. During
crystallization, these are C0, D (at the undersaturated stage) and the shape of the
saturation curve (a function of T and the magma composition). At higher C0 and/or
lower D, saturation is reached sooner (Fig. 13.5). It is worth noting that many acid
igneous suites are saturated throughout their whole history, thus lacking the undersatu-
rated segment completely. Thus the evolutionary path during fractionation is
predetermined by the nature of the source and conditions of partial melting.
)
ite
no .5
ni .3
or
)
io 2
ra 1
ra 1
di
te
e)
(d =
(g =
(g =
rit
M
M
1500
1000
T (°C)
1000
Zr (ppm)
900
500
800
700
600
0
Watson and Harrison (1984) presented two partial melting scenarios related to
the concentration of the ESC in the source (C0) compared to the saturation level
(Csat) (e.g., Fig. 13.6 for Zr). If C0 > Csat, the melt is saturated throughout the melt-
ing event and its ESC content buffered at a constant level, independent of the de-
gree of melting. In such a scenario, typical of low-T crustal anatexis, undissolved
zircon cores (inheritance) are likely to be preserved (Miller et al. 2003). The ESC
content of the residue rises in course of progressive melting. On the other hand,
when C0 < Csat, the melt remains saturated in ESC only until the source is ex-
hausted. From this point on, melt batches would be progressively depleted in the
ESC. Zircon is not stable in such an undersaturated melt and any grain that comes
in contact with it would eventually dissolve.
ESC α (ppm)
Saturation
Rayleigh frac. cryst. point
(incompatible element) Saturation
C0
Differentiation
b c d
ESC
ESC
ESC
Fig. 13.5 a Behaviour of an ESC-type trace element in a magma evolving by fractional crystalli-
zation (Montel 1996). Below are shown panels demonstrating effects of C0 (b), D (c) and the
cooling path (T) of the magma (d) on the position of the saturation point.
References 139
250
exhausted
source
200
200
Inheritance
is likely
residue
150
150
Zr (ppm)
Zr (ppm)
C0
melt
(C )
Zr melt
(C ) Zr
100
100
L sat L sat
Inheritance
is likely Inheritance
50
50
to be residu unlikely
preserved
C0
e
a b
0
0
0.0 0.1 0.2 0.3 0.4 0.5 0.6 0.0 0.1 0.2 0.3 0.4 0.5 0.6
F F
Fig. 13.6 Binary plot of F vs. Zr (ppm), showing the compositional evolution of the melt (red ar-
row) as well as of the corresponding residue (grey arrow), during partial melting. In the first case
(a) the concentration of the ESC in the source is higher and in the second (b) lower than the satu-
ration threshold (= concentration in the melt). After Watson and Harrison (1984).
References
Bea F, Fershtater G, Corretgé L (1992) The geochemistry of phosphorus in granite rocks and the
effect of aluminium. Lithos 29:43–56
Fiege A, Kirchner C, Holtz F, Linnen RL, Dziony W (2011) Influence of fluorine on the solubil-
ity of manganotantalite (MnTa2O6) and manganocolumbite (MnNb2O6) in granitic melts—an
experimental study. Lithos 122:165–174
Harrison TM, Watson EB (1984) The behavior of apatite during crustal anatexis: equilibrium and
kinetic considerations. Geochim Cosmochim Acta 48:1467–1477
Hayden LA, Watson EB (2007) Rutile saturation in hydrous siliceous melts and its bearing on
Ti-thermometry of quartz and zircon. Earth Planet Sci Lett 258: 561–568
Holtz F, Johannes W (1991) Genesis of peraluminous granites I. Experimental investigation of
melt compositions at 3 and 5 kbar and various H2O activities. J Petrol 32:935–958
Janoušek V (2006) Saturnin, R language script for application of accessory-mineral saturation
models in igneous geochemistry. Geol Carpath 57:131–142
Kelsey DE, Clark C, Hand M (2008) Thermobarometric modelling of zircon and monazite
growth in melt-bearing systems: examples using model metapelitic and metapsammitic gran-
ulites. J Metamorph Geol 26:199–212
Klimm K, Blundy JD, Green TH (2008) Trace element partitioning and accessory phase satura-
tion during H2O-saturated melting of basalt with implications for subduction zone chemical
fluxes. J Petrol 49:523–553
Kularatne K, Audétat A (2014) Rutile solubility in hydrous rhyolite melts at 750–900 °C and
2 kbar, with application to titanium-in-quartz (TitaniQ) thermobarometry. Geochim
Cosmochim Acta 125:196–209
Miller CF, McDowell SM, Mapes RW (2003) Hot and cold granites? Implications of zircon satu-
ration temperatures and preservation of inheritance. Geology 31:529–532
Montel J-M (1993) A model for monazite/melt equilibrium and application to the generation of
granitic magmas. Chem Geol 110:127–146
140 13 Trace Elements as Essential Structural Constituents …
D
0.01
10.000
0.1
0.5
2
5
CL C0
0.100
0.001
Table 14.1 shows the REE concentrations in a tonalitic magma (ppm), as well
as the partition coefficients for crystallizing mineral phases.
Table 14.1
ttg.data
14 Trace Elements 143
1
For a pure R method to plot spider diagrams, see Exercise 3.4
144 14 Forward Modelling in R
In the example we have just set up the minimum and maximum of the y
axis, and assigned plotting symbols with colours. For explanation of fur-
ther options, see ?spider.
10
1
0.1
La Ce Pr Nd Pm Sm Eu Gd Tb Dy Ho Er Tm Yb Lu
Fig. 14.2 Chondrite-normalized REE patterns, illustrating the differentiation of a parental to-
nalitic magma (black squares) in case of allanite-free (red circles) and allanite-bearing (blue cir-
cles) cumulates (Exercise 14.2).
Two types of mantle, primitive (PRIMA) and depleted (DM), undergo partial melt-
ing at two different pressures: 5 and 15 kbar, i.e. in the spinel and garnet stability
fields. The Table 14.2 contains the average compositions of the two mantle
sources, as well as KD values for their main mineral constituents. The following
table (Table 14.3) shows the modal compositions of the two peridotite types after
melt extraction.
14 Trace Elements 145
Table 14.2
La Ce Nd Sm Eu Gd Er Yb Lu
mantle_melting.data
Table 14.3
mantle_melting_modal.data
x Given the mineral proportions in spinel and garnet lherzolite residues, calculate
the D values at both pressures.
x For each of the selected F values (0.01, 0.02, 0.05, 0.1 and 0.2), calculate the
REE compositions of the melt in the four cases (two peridotite types, PRIMA
and DM, at two pressures).
x Plot the corresponding REE patterns.
10
1
PRIMA/DM
0.01 0.01
0.02 0.02
0.05 0.05
0.1 0.1
0.2 0.2
0.1
La Ce Pr Nd Pm Sm Eu Gd Tb Dy Ho Er Tm Yb Lu
Fig. 14.3 Chondrite-normalized REE patterns for various degrees of a shallow (spinel stability
field) batch melting of Primitive Mantle (PRIMA, blue circles) and Depleted Mantle (DM, green
circles) (Exercise 14.3). Note how these patterns resemble E-MORB and N-MORB, respectively.
> deep2<-batch(dm,ff,dd["15",]) # DM
> print(deep2,3)
La Ce Nd Sm Eu Gd Er Yb Lu
0.01 2.952 19.20 16.24 3.91 1.101 2.06 1.068 0.815 0.1133 …
GCDkit-> legend("bottomright",legend=rep(ff,2),pch=15,col=col,
+ bg="white",ncol=2,title="PRIMA/DM")
10
1
PRIMA/DM
0.01 0.01
0.02 0.02
0.05 0.05
0.1 0.1
0.2 0.2
0.1
La Ce Pr Nd Pm Sm Eu Gd Tb Dy Ho Er Tm Yb Lu
Fig. 14.4 Chondrite-normalized REE patterns for various degrees of a deep (garnet stability
field) batch melting of Primitive Mantle (PRIMA, blue circles) and Depleted Mantle (DM, green
circles). Magmas resembling OIB are generated from the PRIMA source, but the DM/deep melts
resemble no common type of basalts (Exercise 14.3).
Table 14.4
Rb Zr Nb
NMORB 0.56 74 2.33
UCC 112 190 25
x Draw a mixing hyperbola between the two end members in a Rb vs. Zr/Nb plot.
14 Trace Elements 149
MORB
30
25
20
Zr/Nb
15
10
UCC
5
0
0 20 40 60 80 100 120
Rb (ppm)
Fig. 14.5 Binary plot Rb vs. Zr/Nb showing effects of a basalt contamination by an average up-
per continental crust (Exercise 14.4). Note that this is largely a mathematical exercise, as high
degrees of crustal contamination are precluded by thermal constraints (endothermic process trig-
gering crystallization—see AFC, Sect. 11.4, 24.1.1).
150 14 Forward Modelling in R
The file contains major-element and Zr contents in Boggy Plain Suite of the Lach-
lan Fold Belt (New South Wales, Australia) from Ph.D. thesis of D. Wyborn
(1983) imported from the OzChem compilation by Geoscience Australia,
http://www.ga.gov.au (Budd et al. 2000).
boggy_plain.data
Based on the Watson and Harrison’s (1983) zircon saturation model, in GCDkit:
x Plot a binary graph of temperature (ºC) vs. Zr saturation levels (ppm) contoured
for variable values of the M parameter [Eq. (13.1)].
x Plot a binary graph of M vs. Zr (ppm) for the Boggy Plain Suite with superim-
posed isotherms of zircon saturation temperatures in ºC [Eq. (13.3)].
x Examine how zircon saturation temperatures depend on the whole-rock SiO2.
In order to be able to use the Saturation plugin (see GCDkit Box in Sect. 13.2), we
have to load data into GCDkit, either from the menu, or using the function
load Data. Note that it closes all graphical windows already open.
GCDkit-> loadData("boggy_plain.data")
GCDkit-> windows(width=10,height=6) # Open an empty window
GCDkit-> par(mfrow=c(1,2)) # Split it into two
GCDkit-> # Plot 1
GCDkit-> # Create an empty plot (type="n") with an appropriate range
GCDkit-> plot(1,1,xlim=c(650,950),ylim=c(0,650),xlab=
+ expression(T*degree*C),ylab="Zr (ppm)",type="n")
GCDkit-> M <- seq(0.9,2.0,by=0.1) # Setup the M values
GCDkit-> col <- selectPalette(length(M),"blues") # The colours
GCDkit-> for (i in 1:length(M)){
GCDkit-> curve(497644/exp(-3.8-0.85*(M[i]-1)+12900/(x+273.15)),
+ lty="solid",lwd=2,col=col[i],add=TRUE)
GCDkit-> }
GCDkit-> # Legend colour-coded for individual M values
GCDkit-> legend("bottomright",text.col=col,legend=M,title="M",
+ bg="white",ncol=2)
GCDkit-> # Plot 2
GCDkit-> # Call plugin with arbitrary T, we do not use Zr sat values
GCDkit-> sat.data <- zrSaturation(T=800)
GCDkit-> # Create a plot with Boggy Plain data of appropriate range
14 Trace Elements 151
GCDkit-> plot(sat.data[,"M"],WR[,"Zr"],xlim=c(0.9,2.5),
+ ylim=c(0,250),xlab="M",ylab="Zr (ppm)",pch=19)
GCDkit-> tt <- seq(650,950,by=50) # Setup the temperatures
GCDkit-> col <- selectPalette(length(tt),"reds") # The colours
GCDkit-> for (i in 1:length(tt)){
GCDkit-> curve(497644/exp(-3.8-0.85*(x-1)+12900/(tt[i]+273.15)),
+ lty="solid",lwd=2,col=col[i],add=TRUE)
GCDkit-> # Prepare textual labels
GCDkit-> lab <- eval(substitute(expression(x*degree*C),
+ list(x=tt[i])))
GCDkit-> M <- 0.9
GCDkit-> text(M,497644/exp(-3.8-0.85*(M-1)+12900/
+ (tt[i]+273.15))-5,lab,adj=0,col=col[i])
GCDkit-> }
a 250
b
600
200
850°C
500
400
150
Zr (ppm)
Zr (ppm)
300
800°C
100
M
200
1.1 1.7
1.2 1.8 700°C
1.3 1.9 650°C
1.4 2
0
650 700 750 800 850 900 950 1.0 1.5 2.0 2.5
T°C M
Fig. 14.6 Zircon saturation calculations (Watson and Harrison 1983) for Boggy Plain Suite, Aus-
tralia (Wyborn 1983). a Binary plot of temperature (ºC) vs. the Zr saturation level. b Binary
plot of M parameter vs. Zr (ppm) with superimposed isotherms based on zircon saturation model
(Exercise 14.5).
800
750
Zircon saturation T (°C)
700
650
600
550
50 55 60 65 70 75
SiO2
Fig. 14.7 Binary plot of whole-rock silica contents (wt. %) vs. zircon saturation temperatures
(Watson and Harrison 1983) for Boggy Plain Suite, Australia (Wyborn 1983) (Exercise 14.5).
References
Boynton WV (1984) Geochemistry of the rare-earth elements: meteorite studies. In: Henderson P
(ed) Rare Earth Element Geochemistry. Elsevier, Amsterdam, pp 63–114
Budd AR, Hazell MS, Sedgmen A, Sedgmen L, Wyborn LAI, Ryburn R (2000) OZCHEM data-
set release 1 documentation: AGSO’s national whole rock geochemistry database. Australian
Geological Survey Organisation, Canberra
Sun SS, McDonough WF (1989) Chemical and isotopic systematics of oceanic basalts: implica-
tions for mantle composition and processes. In: Saunders AD, Norry MJ (eds) Magmatism in
ocean basins. Geological Society of London Special Publications, vol 42, pp 313–345
Taylor SR, McLennan SM (1995) The geochemical evolution of the continental crust. Rev
Geophys 33:241–265
Watson EB, Harrison TM (1983) Zircon saturation revisited: temperature and composition effects
in a variety of crustal magmas types. Earth Planet Sci Lett 64:295–304
Wyborn D (1983) Fractionation processes in the Boggy Plain zoned pluton. Unpublished Ph.D.
thesis, Australian National University, Canberra
Chapter 15
Reverse Modelling in R
Table 15.1
ttg2.data
Let’s assume that WR1 and WR2 represent pure compositions of a tonalitic melt dif-
ferentiating by Rayleigh-type fractional crystallization.
x Using the least-square method, estimate the modal composition of the cumulate
and the degree of fractional crystallization.
Grt_Lherzolite Magma_A
Rb 4.12
Sr 18.00 93.67
Ni 2000.00 148.68
Nb 0.40 1.62
La 0.25 2.05
Yb 0.40 0.84
mantle_conc.data
Table 15.3
Ol Opx Cpx Grt
Rb 0.0001 0.0002 0.0003 0.009
Sr 0.002 0.003 0.7 0.2
Ni 24 5.2 3.4 1
Nb 0.0001 0.34 0.3 0.2
La 0.0004 0.002 0.008 0.008
Yb 0.0015 0.002 0.02 8
mantle_kd.data
15 Trace Elements 155
We should look now for a strongly incompatible element. If successful, the high-
est CL/C0 value would constrain the degree of partial melting through Eq. (12.9).
> ratio <- cl/c0
> print(sort(ratio),3)
Ni Yb Nb Sr La
0.0743 2.1000 4.0500 5.2039 8.2000
> Rb<-cl["Rb"]*ff
> c0["Rb"]<-Rb
> cat("Rb in the lherzolite is", round(Rb,2),"ppm","\n")
Rb in the lherzolite is 0.5 ppm.
The mixing equation for two end-members, 1 and 2, can be seen as a mean of iso-
topic ratios (I1 and I2), weighted by their respective mass-fraction in the mixture.
Marking the mass fraction of the end-member 1 as f1, (with f1 + f2 = 1) and re-
spective concentrations C1, C2 and CM (Faure 1986):
§C · §C ·
IM I1 ¨ 1 ¸ f1 I 2 ¨ 2 ¸ (1 f1 ) (16.1)
© CM ¹ © CM ¹
I1C1 f1 I 2C2 (1 f1 )
IM (16.3)
C1 f1 C2 (1 f1 )
Eq. (16.3) describes the isotopic ratio as a function of mixing proportion f1.
However ever, it appears useful to visualize the relationship between elemental
concentration (CM) and isotope ratio (IM) during mixing, which can be achieved by
eliminating f1. Equations (16.1) and (16.2) yield:
C1C2 I 2 I1 C1I1 C2 I 2
IM
CM C1 C2
(16.4)
C1 C2
51.0
51.0
IM IM
a æ 1 ö
IM = +b IM = a ç ÷+b
CM
50.8
50.8
è CM ø
50.6
50.6
50.4
50.4
50.2
50.2
a b
100 200 300 400 500 600 0.002 0.004 0.006 0.008 0.010
CM 1/CM
Fig. 16.1 Conversion of a rectangular hyperbola (a) to a straight line (b) by plotting of reciprocal
values on the x axis.
In isotope-based modelling of binary mixing, plots such as 1/Sr vs. 87Sr/86Sr are
frequently used, where the mixing hyperbolae change into straight lines
(Fig. 16.1b). For a suite of cogenetic igneous rocks, when the slope of this line dif-
fers from zero, it indicates the involvement of an open-system process, such as
magma mixing or wall-rock assimilation (Briqueu and Lancelot 1979) (Fig. 16.2).
On the other hand, samples that originated from the same source by various de-
grees of closed-system fractionation preserve identical initial isotopic ratios,
which in the 1/Sr vs. 87Sr/86Sr diagram results in a horizontal trend.
The parameter f1 from Eq. (16.3) can be calculated if the isotopic compositions
and elemental concentrations for both end-members as well as the isotopic com-
position of the presumed hybrid are known:
c2 I 2 I M
f1 (16.5)
I M (c1 c2 ) I1c1 I 2c2
87Sr/86Sr
87Sr/86Sr
Crustal
contaminant
Pristine SiO2
melt
Pristine
melt
a b
1/Sr 1/Sr
87 86
Fig. 16.2 Development of Sr/ Sr composition in a fractionating mantle-derived igneous suite.
a Closed-system fractional crystallization of a parental magma, b Contamination of the pristine
melt, followed by closed-system fractionation (after Briqueu and Lancelot 1979).
AI MX BI MX I MY CI MY D 0 (16.6)
§ 87 Sr · § 87 Sr · § 143 Nd · § 143 Nd ·
A ¨ 86 ¸ B ¨ 86 ¸ ¨ 144 ¸ C ¨ 144 ¸ D 0 (16.7)
© Sr ¹ M © Sr ¹ M © Nd ¹ M © Nd ¹ M
Where:
§ 143 Nd · § 143 Nd ·
A ¨ 144 ¸ Nd 2 Sr1 ¨ 144 ¸ Nd1Sr2 ,
© Nd ¹ 2 © Nd ¹ 1
B Nd1Sr2 Nd2 Sr1 ,
162 16 Direct Models
§ 87 Sr · § 87 Sr ·
C ¨ 86 ¸ Nd 2 Sr1 ¨ 86 ¸ Nd1Sr2 ,
© Sr ¹ 1 © Sr ¹ 2
§ 143 Nd · § 87 Sr · § 143 Nd · § 87 Sr ·
D ¨ 144 ¸ ¨ 86 ¸ Nd Sr ¨ 144 ¸ ¨ 86 ¸ Nd 2 Sr1 .
© Nd ¹ 1 © Sr ¹ 2 © Nd ¹ 2 © Sr ¹ 1
1 2
This equation is that of a hyperbola, unless B is zero, in which case a straight line
is obtained. The coefficient B can be further rearranged, defining:
( Sr / Nd )2
D (16.8)
( Sr / Nd )1
the special case of a straight line corresponds to Į = 1 (DePaolo and Wasserburg
1979) (Fig. 16.3), i.e. when the Sr/Nd proportions are equal in both end-members
and the mix is not enriched preferentially with one element. Note that also a binary
plot of isotopic pairs of the same element, such as 206Pb/204Pb vs. 207Pb/204Pb, will
produce a linear correlation as Į = 1.
1
α
=
0.5125
10
Nd
α
=
2
0.5120
144
α=
Nd
1
α=
143
0.5
0.5115
α=
0.1
0.5110
2
(Sr / Nd)2 < (Sr / Nd)1
87 86
Sr Sr
Fig. 16.3 Diagram 87Sr/86Sr vs. 143Nd/144Nd showing that binary mixing hyperbolae depend on
the parameter Į [Eq. (16.8)]. Dots show 10 % increments of the end-members, 1 and 2, in the
mixture (after DePaolo and Wasserburg 1979).
The general equation of a rectangular hyperbola in [x, y] space with asymptotes x0,
y0 and curvature q is:
( x x0 )( y y0 ) q (16.9)
16.1 Binary Mixing 163
q
or y y0 (16.10)
( x x0 )
After rearranging Eq. (16.10), the meaning of the coefficients A, B, C, D in Eq.
(16.6) becomes apparent:
y0 x xy x0 y q x0 y0 0 (16.11)
C A
x0 , y0 (16.12)
B B
D
q x0 y0 (16.13)
B
Back to the example of a 87Sr/86Sr–143Nd/144Nd plot [Eq. (16.7)], the asymptotes
and curvature of the mixing hyperbola are defined as (Albarède 1995) (Į 1):
§ 87 Sr · § 87 Sr ·
¨ 86 Sr ¸ D ¨ 86 Sr ¸
© ¹1 © ¹2
x0 ,
1 D
§ 143 Nd · § 143 Nd ·
¨ 144 Nd ¸ D ¨ 144 Nd ¸
© ¹2 © ¹1
y0 (16.14)
1 D
§ 87 Sr · § 143 Nd · § 87 Sr · § 143 Nd ·
D ¨ 86 ¸ ¨ 144 ¸ ¨ 86 ¸ ¨ 144 ¸
© Sr ¹ 2 © Nd ¹ 1 © Sr ¹ 1 © Nd ¹ 2
q x0 y0 (16.15)
1D
CA = concentration in
the assimilant CL = concentration in
the magma
IA = isotopic ratio of
the assimilant CS = DCL = concentration in
the crystallizing minerals
r = rate of assimilation to
fractional crystallization IL = isotopic ratio in the magma
C0 = initial concentration in
the magma
I0 = initial isotopic ratio of
the magma
Fig. 16.4 Schematic representation of the AFC process including isotopes (after De Paolo 1981).
0.5135
0.5130
Initial liquid
DNd = 0.01, DSr = 2
r = 0.1
0.5125
r = 0.2
Nd
0.5120
144
Nd
r = 0.5
143
0.5115
r = 1.5
0.5110
87 86
Sr Sr
87 86 143 144
Fig. 16.5 Binary plot Sr/ Sr vs. Nd/ Nd showing the effects of two AFC processes (solid
lines: DNd = 2 and DSr = 0.01 and dotted lines: DNd = 0.01 and DSr = 2) , for variable r values
(after DePaolo 1981). Note that, due to the endothermic character of assimilation and contamina-
tion, r values exceeding unity are very unlikely (Sect. 24.1).
Keeping in mind that the heavy radiogenic isotopes are not fractionated during
closed-system crystallization (DePaolo 1981; Albarède 1995):
§ C ·
IL I 0 I A I 0 ¨1 0 F z ¸ (16.16)
© CL ¹
16.2 AFC Formulation for Isotopes 165
Where IL, I0 and IA are the isotopic ratios (e.g., 87Sr/86Sr) in the differentiated and
primitive melt and in the assimilant, and z r D 1 .
r 1
In general, AFC processes with constant r and D produce a straight line in the
1/C (or C0/C) vs. I plot. Otherwise, the trends are distinctly curved (Powell 1984;
Janoušek et al. 2000) as are, in general, the AFC trends in binary plots involving
two isotopic ratios (Fig. 16.5).
0.720
0.720
Assimilant r = 0.2 Assimilant r = 0.5
Sr
Sr
D=0
D=0
D=
86
86
0.710
0.710
D=2
D=2
D=
D=
Sr
Sr
0. 9
1
1
.9
.7
87
87
.7
D=0 1
D = 0.0
D = 0.001
0.001
Initial liquid D = Initial liquid
0.700
0.700
0.720
Sr
D = 0.0
D=0
D=
D=
86
86
0.710
0.710
D=
D=
D=2
D=
1
2
Sr
Sr
0.5
.01
0.7
1
1
0.0
01
87
87
D=
1
0.00
D=
Initial liquid Initial liquid
0.700
0.700
Fig. 16.6 Compositional changes in Sr vs. 87Sr/86Sr diagrams during AFC with various rate of as-
similation to fractional crystallization (r = 0.2, 0.5, 0.8 and 1.5). The curves are labelled by the
bulk distribution coefficient DSr ; DSr = 1 corresponds to simple binary mixing and thus the mod-
elled curve connects both end members, which is otherwise not the case (after DePaolo 1981).
166 16 Direct Models
It is worth noting that even a massive assimilation may lead to very limited
changes in the isotopic composition of an incompatible element in the melt. In
contrast, compatible elements may record large isotopic shifts already at modest
assimilation rates (Fig. 16.6). A characteristic feature of AFC is that the composi-
tion of the resulting magma does not generally plot onto a tie line between both
end members, unlike in the case of binary mixing.
References
Assuming a binary x–y plot of two isotopic ratios (e.g. 87Sr/86Sr–143Nd/144Nd), the
Eq. (16.11) for the mixing hyperbola can be rearranged to:
xy x0 y y0 x q x0 y0 (17.1)
ª x1 y1 º ª1, y1 , x1 º
«x y » «1, y , x » ª q x0 y0 º
« 2 2» « 2 2 »« x »
«... » «... » « 0 » (17.2)
« » « »¬« y0
»¼
«¬ x p y p »¼ «¬1, y p , x p »¼
and solved for the vector [q– x0 y0, x0, y0 ] by least-square method (Appendix C).
The detailed treatment of ternary mixing problems can be found, for in-
stance, in Sohn (2013), including the reverse modelling.
17.2 AFC
Reverse solution of the AFC was described by Powell (1984), Mantovani and
Hawkesworth (1990) and Aitcheson and Forrest (1994). It is straightforward to
use the slope S of the mixing line in the 1/C vs. I diagram (Powell 1984):
§ r 1 D· 1 S
IA S ¨ ¸ I0 (17.3)
© r ¹ CA C0
S 1 D
r (17.4)
§ S ·
S ¨ I0 I A ¸ CA
© C0 ¹
References
Aitcheson SJ, Forrest AH (1994) Quantification of crustal contamination in open magmatic sys-
tems. J Petrol 35:461–488
Guzmán S, Carniel R, Caffe PJ (2014) AFC3D: a 3D graphical tool to model Assimilation
and Fractional Crystallization with and without recharge in the R environment. Lithos
190–191:264–278
Mantovani MSM, Hawkesworth CJ (1990) An inversion approach to assimilation and fractional
crystallisation processes. Contrib Mineral Petrol 105:289–302
Powell R (1984) Inversion of the assimilation and fractional crystallization (AFC) equations;
characterization of contaminants from isotope and trace element relationships in volcanic
suites. J Geol Soc London 141:447–452
Sohn RA (2013) A method for inverting ratio-ratio data to estimate end-member compositions in
mixing problems. Chem Geol 352:63–69
Chapter 18
Forward Modelling in R
Table 18.1
A: schist B: basalt
Sr 150 ppm 600 ppm
87
Sr/86Sr 0.715 0.703
x Plot a theoretical mixing hyperbola between basalt and schist in the Sr–87Sr/86Sr
and 1/Sr–87Sr/86Sr diagrams for 5 % mixing increments.
x Calculate the 87Sr/86Sr ratio in a mixture containing 20 % of the schist.
x Determine the proportion of schist in the mixture that has 87Sr/86Sr = 0.710.
0.712
Sr
Sr
86
86
Sr
Sr
0.708
0.708
87
87
0.704
0.704
200 300 400 500 600 0.002 0.003 0.004 0.005 0.006
Fig. 18.1 Theoretical mixing hyperbola resulting from contamination of basalt by the surround-
ing schist (Exercise 18.1).
18 Radiogenic Isotopes 171
Table 18.2
A: schist B: basalt
Sr 150 ppm 600 ppm
87
Sr/86Sr 0.715 0.703
Nd 20 ppm 2 ppm
143
Nd/144Nd 0.511 0.513
> windows()
> cx1 <- 150; cx2 <- 600 # Sr, schist and basalt
> ix1 <- 0.715; ix2 <- 0.703 # 87Sr/86Sr, schist and basalt
> f1 <- seq(0,1,by=0.05) # prop. of schist in mixture
> cmx <- cx1*f1+(1-f1)*cx2 #Sr conc. mix [Eq. (16.2)]
> imx <- ix1*cx1*f1/cmx+ix2*cx2*(1-f1)/cmx
> # 87Sr/86Sr mix [Eq. (16.1)]
> cy1 <- 20; cy2 <- 2 # Nd in schist and basalt
> iy1 <- 0.511; iy2 <- 0.513 # 143Nd/144Nd, schist/basalt
> cmy <- cy1*f1+(1-f1)*cy2 # Nd conc., mix [Eq. (16.2)]
> imy <- iy1*cy1*f1/cmy+iy2*cy2*(1-f1)/cmy
> # 143Nd/144Nd mix [Eq. (16.1)]
> # Prepare results table
> res <- cbind(cmx,imx,cmy,imy)
> rownames(res) <- f1
> colnames(res) <- c("Sr","87Sr/86Sr","Nd","143Nd/144Nd")
> print(res)
Sr 87Sr/86Sr Nd 143Nd/144Nd
0 600.0 0.7030000 2.0 0.5130000
0.05 577.5 0.7031558 2.9 0.5123103
0.1 555.0 0.7033243 3.8 0.5119474…
172 18 Forward Modelling in R
0.5120
Nd
143
0.5115
0.5110
87 86
Sr Sr
Fig. 18.2 Theoretical mixing hyperbola between basalt and schist. Asymptotes are shown by
dashed lines (Exercise 18.2).
18 Radiogenic Isotopes 173
18.2 AFC
Let’s assume an AFC process with the following parameters: the parental magma
has a 87Sr/86Sr = 0.7045 and contains 150 ppm of Sr; DSr = 3.5. The contaminant
contains 500 ppm of Sr and has a 87Sr/86Sr ratio of 0.713.
x In the 1/Sr vs. 87Sr/86Sr diagram, show the effects of up to 60 % crystallization
accompanied by assimilation. Plot curves for variable values of the r parameter
(0, 0.05, 0.1, 0.2 and 0.5) at 10 % increments of F.
r=+ r = 0.5
Contaminant
0.712
r = 0.2
0.710
r = 0.1
Sr
86
0.708
Sr
r = 0.05
87
0.706
0.704
r=0
Initial magma
1/Sr (ppm)
87 86
Fig. 18.3 A 1/Sr vs. Sr/ Sr diagram showing effects of up to 60% crystallization of a basaltic
magma accompanied by different rates (r) of crustal contamination. A tie line connecting the Ini-
tial magma with Contaminant would correspond to binary mixing (r = ) (Exercise 18.3).
Chapter 19
Reverse Modelling in R
Pb–Hf isotopic compositions of old and intermediate arc lavas from La Martinique
Island in Lesser Antilles reflect binary mixing between depleted-mantle and
enriched, plume-derived components (Table 19.1) (Labanieh et al. 2010).
Table 19.1
206
Sample Pb/204Pb 176
Hf/177Hf
06MT68 18.9866 0.283163
06MT53 19.1900 0.283137
06MT54 19.1876 0.283137
06MT73 19.2678 0.283131
06MT69 19.6896 0.28307
06MT71 19.7037 0.283064
06MT60 19.8770 0.282856
06MT72 19.9352 0.282554
06MT68 18.9866 0.283163
Martinique.data
0.2832
0.2830
Hf
177
Hf
0.2828
176
0.2826
206 204
Pb Pb
Fig. 19.1 Least-square reverse modelling of binary mixing between depleted-mantle and en-
riched, plume-derived component using the Pb–Hf isotopic data from La Martinique (Exercise
19.1).
Reference
Geochemical modelling described in this book is primarily concerned with the in-
terpretation of natural igneous suites. Therefore, any geochemical study must rest
upon a sound understanding of their field relations and petrological features. As this
text is not a manual of petrology, we will not describe all the relevant tools, but
rather point out a few features that may help in deciding on the process to be
modelled, even constraining it to some point.
a b
c d
≈ 20 cm
300 μm
Fig. 20.1 Field evidence for in situ and fractional crystallization. a Olivine accumulation at the
base of a komatiite flow (Sivikkovaara, Finland) (lens cap for scale). b Evidence for late-stage
separation of liquids in a crystallizing pluton (Guernsey gabbroic intrusion, Channel Islands,
U.K.) (coin for scale). Late felsic melts are extracted from the crystals–liquid mixture (“mush”)
below and accumulate against, and even cut through, an overlying layer of already essentially
solid material. c Cumulate layers of anorthosite and chromitite in the Dwars River locality of the
Bushveld Complex (South Africa). d A back-scattered electron (BSE) view of oscillatory zoning
in a plagioclase from Parinacota Volcano, Chile (Ginibre et al. 2002). Although plagioclases
commonly show complex zoning patterns that probably reflect stories more complicated than
plain crystallization, as a first approximation the composition of this plagioclase becomes more
sodic towards the rim, consistent with a crystallization in a magma (Photo G. Wörner).
The mere presence of igneous rock that had to crystallize from magma is evidence
for melting. In that sense every geochemical model should include a stage of par-
tial melting. However, melting processes generally take place at great depth, much
deeper than the place where magmas crystallize. Consequently, melting sites can
be poorly (if at all) documented at the current exposure level. Therefore, decipher-
ing melting is often tricky and indirect.
a Ml b
Me
L
Me
c d
Fig. 20.2 Field evidence for partial melting. a Migmatites from the Caicó Block (Rio Grande do
Norte, Brazil). A leucosome (L) and matching melanosome (Ml, thin black border) are hosted in
a mesosome (Me). The mesosome represents a portion of the source not affected by melting,
while the leucosome may correspond to the liquid and the melanosome to the restite. Here the
melanosome is dominated by biotite, suggesting that the melting reaction was either fluid-present
or muscovite breakdown (Stevens et al. 1997). b Migmatites from the Southern Marginal Zone
of the Limpopo Belt, South Africa. A diffuse network of leucosomes is associated with large
crystals of garnet, formed by the biotite-breakdown melting reaction (Bt + Pl + Qtz + Sil = L +
Grt) (Stevens and van Reenen 1992). c Migmatites from Kivijärvi, Finland. An oblique felsic
vein is connected to the leucosome, and cuts the foliation, thus demonstrating that melt was be-
ing extracted from the migmatite. d Thin leucocratic (plagioclase-rich) veins in a lherzolite from
the Monte Maggiore ophiolite, Corsica. Small white patches (either interconnected, as in the
large vein near the top of the photo, or trapped in the intergranular space, as in the middle) repre-
sent small volumes of liquid generated by melting of the surrounding peridotite, which may be
regarded as a source for the associated gabbros and basalts from the same ophiolite. As for the
lower crustal migmatites, one may ask whether the leucosomes represent trapped in-situ melts or
remnants of melt having percolated the peridotite (Photo C. Nicollet).
the most appropriate model, in particular for alkaline sequences. However, for greater
degrees of melting (tholeiites), the differences from batch melting become negligible.
A
4. FILLING OF FRACTURES
M
AG
→ Mafic dykes
M
IC
LS
FE
E
TH
3. FILLING OF EARLY FRACTURES
F
O
→ Composite dykes
N
IO
AT
IZ
LL
TA
YS
CR
2. MINGLING
→ Mafic magmatic enclaves
1. MIXING
→ Calc-alkaline granitoids
MAFIC MAGMA
Fig. 20.3 Variable textures in hybrid rocks resulting from injection of mafic magma at different
stages of the felsic magma chamber crystallization (Barbarin 2005). Photos are from the Dinkey
Creek Pluton, Sierra Nevada, USA. © Elsevier
Mixing and mingling can both be modelled by binary mixing equations. How-
ever, the scale of the processes does differ. Mixing is primarily diffusion-
driven and thus controlled by the surface area of the interfaces between dissimilar
liquids. The process should affect large volumes of magma, so the observed rocks
may all represent hybrids, and any pure end-members could be totally missing.
Mingling, on the other hand, would affect only small volumes (equilibration domains,
see Sect. 24.2) of the magmas, and the rocks with end-member compositions are
more likely to be preserved.
20.3.2 Assimilation
Striking examples of host-rock xenoliths disaggregating into intrusions are con-
vincing evidence for assimilation of country rocks into a pluton (Pitcher and
Berger 1972; Clarke et al. 1998; Lackey et al. 2006; Clarke et al. 2007). Assimila-
tion, from a geochemical point of view, is plain mixing, but should be coupled
with fractional crystallization into AFC processes. Yet, the scale of such interac-
tions is debatable: do they affect more than the zone located in the immediate vi-
cinity of the xenoliths? Current thinking is that the energy cost of assimilation is
so high that a near-solidus pluton cannot provide sufficient heat to assimilate size-
able amounts of rocks at emplacement level (Glazner 2007). However, at depth, in
the hot lower crust or in the mantle, the thermal budget is less of an issue and as-
similation is more feasible. In the deep crust, such a process has been described as
“MASH” (Melting, Assimilation, Storage and Homogenization) (Hildreth and
Moorbath 1988; Vernon 2007), modelling of which requires combining several
simple mechanisms (Sect. 11.5).
References 187
a b
c. d Na
c CL
A
100
80
60
0.5 mm 40 mol. % A n
B
Fig. 20.4 Petrographic evidence for mixing and assimilation processes. a Clinopyroxene-rimmed
quartz ocelli in the Ploumanac’h granite (France). b Rapakivi texture in the Karkonosze granite
(Poland); a core of alkali feldspar is rimmed by plagioclase. c Zoned plagioclase from hybrid
quartz microdiorite, Teletín (Central Bohemian Plutonic Complex), in optical CL. d Electron mi-
croprobe map of Na distribution in the same crystal; profile A–B is shown in inset (Janoušek et
al. 2004).
References
Arndt NT (1994) Archean komatiites. In: Condie KC (ed) Archean crustal evolution.
Developments in Precambrian Geology, vol 11. Elsevier, Amsterdam, pp 11–44
Barbarin B (2005) Mafic magmatic enclaves and mafic rocks associated with some granitoids of
the central Sierra Nevada batholith, California: nature, origin, and relations with the hosts.
Lithos 80:155–177
Bateman R (1995) The interplay between crystallization, replenishment and hybridization in
large felsic magma chambers. Earth Sci Rev 39:91–106
Brown M (2004) The mechanism of melt extraction from lower continental crust of orogens.
Trans Roy Soc Edinb, Earth Sci 95:35–48
Brown M (2007) Crustal melting and melt extraction, ascent and emplacement in orogens: mech-
anisms and consequences. J Geol Soc London 164:709–730
Castro A, De la Rosa JD (1994) Nomarski study of zoned plagioclases from granitoids of the
Seville Range Batholith, SW Spain. Petrogenetic implications. Eur J Mineral 6:647–656
Clarke DB, Henry AS, White MA (1998) Exploding xenoliths and the absence of ‘elephants’
graveyards’ in granite batholiths. J Struct Geol 20:1325–1343
Clarke DB, Paterson SR, Vernon RH (2007) Contaminated granites: preface. Canad Mineral
45:1–3
Didier J, Barbarin B (1991) Enclaves and granite petrology. Elsevier, Amsterdam
Fourcade S, Martin H, de Brémond d’Ars J (1992) Chemical exchange in migmatites during
cooling. Lithos 28:43–53
188 20 Choosing an Appropriate Model
Ginibre C, Wörner G, Kronz A (2002) Minor- and trace-element zoning in plagioclase: implica-
tions for magma chamber processes at Parinacota volcano, northern Chile. Contrib Mineral
Petrol 143:300–315
Glazner AF (2007) Thermal limitations on incorporation of wall rock into magma. Geology
35:319–322
Hallot E, Davy P, de Brémond d’Ars J, Auvray B, Martin H, van Damme H (1996) Non-
Newtonian effects during injection in partially crystallised magmas. J Volcanol Geotherm
Res 71:31–44
Harker A (1909) A natural history of igneous rocks. Methuen and Co., London
Hasalová P, Janoušek V, Schulmann K, Štípská P, Erban V (2008) From orthogneiss to migma-
tite: geochemical assessment of the melt infiltration model in the Gföhl Unit (Moldanubian
Zone, Bohemian Massif). Lithos 102:508–537
Hibbard MJ (1991) Textural anatomy of twelve magma-mixed granitoid systems. In: Didier J,
Barbarin B (eds) Enclaves and granite petrology. Elsevier, Amsterdam, pp 431–444
Hibbard MJ (1995) Mixed magma rocks. In: Petrography to petrogenesis. Prentice Hall, New
Jersey, pp 242–260
Hildreth W, Moorbath S (1988) Crustal contributions to arc magmatism in the Andes of central
Chile. Contrib Mineral Petrol 98:455–489
Janoušek V, Bowes DR, Braithwaite CJR, Rogers G (2000) Microstructural and mineralogical
evidence for limited involvement of magma mixing in the petrogenesis of a Hercynian high-
K calc-alkaline intrusion: the Kozárovice granodiorite, Central Bohemian Pluton, Czech
Republic. Trans Roy Soc Edinb, Earth Sci 91:15–26
Janoušek V, Braithwaite CJR, Bowes D, Gerdes A (2004) Magma-mixing in the genesis of
Hercynian calc-alkaline granitoids: an integrated petrographic and geochemical study of the
Sázava intrusion, Central Bohemian Pluton, Czech Republic. Lithos 78:67–99
Kriegsman LM, Hensen BJ (1998) Back reaction between restite and melt: implications for geo-
thermobarometry and pressure–temperature paths. Geology 26:1111–1114
Lackey JS, Valley JW, Hinke HJ (2006) Deciphering the source and contamination history of per-
aluminous magmas using δ18O of accessory minerals: examples from garnet-bearing plutons
of the Sierra Nevada Batholith. Contrib Mineral Petrol 151:20–44
Marshall DJ (1988) Cathodoluminescence of geological materials. Unwin Hyman, Boston
Mehnert KR (1968) Migmatites and the origin of granitic rocks. Elsevier, Amsterdam
Morgavi D, Perugini D, de Campos CP, Ertel-Ingrisch W, Dingwell DB (2013) Morphochemistry
of patterns produced by mixing of rhyolitic and basaltic melts. J Volcanol Geotherm Res
253:87–96
Pagel M, Barbin V, Blanc P, Ohnenstetter D (2000) Cathodoluminescence in geosciences.
Springer, Berlin
Pearson D, Canil D, Shirey S (2003) Mantle samples included in volcanic rocks: xenoliths and
diamonds. In: Carlson R (ed) The mantle and core. Treatise on Geochemistry, vol 2. Elsevier,
Amsterdam, pp 171–275
Perugini D, Poli G (2000) Chaotic dynamics and fractals in magmatic interaction processes: a
different approach to the interpretation of mafic microgranular enclaves. Earth Planet Sci Lett
175:93–103
Pitcher WS, Berger AR (1972) The geology of Donegal: a study of granite emplacement and
unroofing. Wiley-Interscience, New York
Sawyer EW (2008) Atlas of migmatites. The Canadian Mineralogist Special Publication, vol 9.
NRC Research Press, Ottawa
Sisson TW, Bacon CR (1999) Gas-driven filter pressing in magmas. Geology 27:613–616
Stevens G, van Reenen D (1992) Partial melting and the origin of metapelitic granulites in the
Southern Marginal Zone of the Limpopo Belt, South Africa. Precambr Res 55:303–319
Stevens G, Clemens JD, Droop GTR (1997) Melt production during granulite-facies anatexis: exper-
imental data from ‘primitive’ metasedimentary protoliths. Contrib Mineral Petrol 128:352–370
References 189
Taylor J, Nicoli G, Stevens G, Frei D, Moyen JF (2014) The processes that control leucosome
compositions in metasedimentary granulites: perspectives from the Southern Marginal Zone
migmatites, Limpopo Belt, South Africa. J Metam Geol 32:713–742
Vernon RH (1991) Interpretation of microstructures of microgranitoid enclaves. In: Didier J,
Barbarin B (eds) Enclaves and granite petrology. Elsevier, Amsterdam, pp 277–291
Vernon RH (2007) Problems in identifying restite in S-type granites of southeastern Australia,
with speculations on sources of magma and enclaves. Canad Mineral 45:147–178
Walter M (2003) Melt extraction and compositional variability in mantle lithosphere. In: Carlson R
(ed) The mantle and core. Treatise on Geochemistry, vol 2. Elsevier, Amsterdam, pp 363–394
Wiebe RA, Collins WJ (1998) Depositional features and stratigraphic sections in granitic plu-
tons: implications for the emplacement and crystallization of granitic magma. J Struct Geol
20:1273–1289
Yakymchuk C, Brown M (2014) Consequences of open-system melting in tectonics. J Geol Soc
London 171:21–40
Chapter 21
Semi-Quantitative Geochemical Approach
1
KD values are from Rollinson (1993).
File chpuy.data contains analyses3 for melt inclusions in olivine crystals from
the Chaîne des Puys Quaternary volcanoes of central France (Jannot 2005). We
shall investigate the genesis of these magmas from their mantle source; we focus
on the set of elements present in Hofmann’s (1988) Primitive Mantle composition,
for which the variability in MORBs was calculated by Schiano et al. (1993).
chpuy.data
hofmann.data
2
Thus, this approach originally developed for incompatible elements will also work for compati-
ble ones, but the two groups must be treated independently.
3
Major elements were corrected for reequilibration with the host olivine.
21.2 Order of (In)Compatibility 193
x Calculate the variability VDfor all elements [Eq. (21.1)] and print in descending
order.
x Plot a diagram comparing the variability in this dataset with that in MORBs
(Schiano et al. 1993).
x Display a spiderplot normalized to the Primitive Mantle, but with elements ar-
ranged in the order of increasing compatibility (= variability) in the inclusions.
0.3
Th
Ba
La Rb
Ce
0.2
Sm
Eu Sr
Zr
K2O
0.1
Yb
0.0
> text(x.data,variability[v.el],v.el,pos=4,offset=0.5)
> abline(0,1)
> # Order the elements in decreasing incompatibility
> v.ordered <- rev(sort(variability [colnames(hofmann)]))
> # Select the data and normalization values
> data <- chpuy[,names(v.ordered)]
> norm <- hofmann["PM",names(v.ordered)]
10
1
Th Ba Rb La Ce Sm Nd Eu Nb Sr Dy Gd Zr TiO2 Er K2O Y Yb
Fig. 21.2 Spiderplot for Chaîne des Puys melt inclusions, normalized to Primitive Mantle
(Hafmann 1988) but with elements arranged in order of compatibility determined for the inclu-
sions data. Prominent anomalies for Nb, Sr, Zr and K2O show that the source of lavas differed from
the Primitive Mantle (the former most likely contained amphibole and/or phlogopite).
The plotting is best done using GCDkit (for a plain R approach, see Exercise 3.4).
GCDkit-> norm <- t(as.matrix(norm))
GCDkit-> rownames(norm) <- "Prim. mantle (Hofmann 1988)[CP order]"
GCDkit-> spider(data,norm,pch=15,ymin=1,ymax=200)
GCDkit-> print(results)
ThN BaN RbN LaN CeN
Chaumont11 70.11070 60.17524 56.04334 73.30184 54.96221
Chaumont2 51.66052 50.25624 39.23034 57.01254 45.59365…
21.3 Process Identification 195
For major elements, the three main petrogenetic processes (melting, crystallization
and mixing) are governed by mass-balance relationships (Sect. 6.5). This results in
a linear trend in any binary plot of major-element compositions.
A linear trend in a binary plot of two major elements, or their oxides (in-
cluding Harker plots), indicates no specific petrogenetic process! This can
be generalized, in p-dimensional space, for p major elements.
For trace elements, melting is commonly regarded as a batch process and crystal-
lization as fractional. Mixing, on the other hand, still follows linear laws. As
shown in Part III, these three processes are described by contrasting equations:
f1C1 1 f1 C2 .
C0 C
CL , L F ( D 1) and CL
D F (1 D) C0
In a binary plot of two trace elements, the resulting curves have different shapes 4.
4
But see Sect. 24.3.1 for a discussion on the feasibility of distinguishing between processes.
196 21 Semi-Quantitative Geochemical Approach
by equations such that when D ĺ 0, then CLĺ C0/F. On the other hand, fractional
crystallization is extremely efficient at depleting compatible elements in a magma,
whereas partial melting has little effect on these.
This relation is usually described in a log(Į) vs. log(ȕ) diagram, where Į is in-
compatible and ȕ compatible. From Rayleigh’s Law we derive for each element:
log CL log C0
log F (21.3)
D 1
Combining two Eq. (21.3), for Į and ȕ, gives:
DE 1 § D 1 ·
log CLE log CLD ¨ log C0E E log CD0 ¸ (21.4)
DD 1 © DD 1 ¹
In a log(CD ) vs. log(CE) diagram, this is a straight line whose slope is:
DE 1
(21.5)
DD 1
Since DĮ ~ 0 and Dȕ ب1, the slope is steep negative5, close to –Dȕ.
Likewise, the fractional melting equation (instantaneous liquids, Eq. 11.13) can be
expressed for elements Į and ȕ, transformed in log coordinates and combined into:
§ DD 1 DE · 1
log CLE ¨ ¸ log CLD log C0E log
¨ D 1 D ¸ DE
© E D ¹
(21.6)
§ DD 1 DE · § 1 ·
¨ ¸ ¨ log log C0D ¸
¨ DE 1 DD ¸ © DD ¹
© ¹
5
Note that the scales should be the same on both axes; indeed when the scales are too dissimilar
the slope of the line is distorted.
21.3 Process Identification 197
¨¨
§ DD DE ·
¸¸ | DD . (21.8)
© DE ¹
The batch melting equation is not exponential, and therefore cannot be ex-
pressed by linear relations in log coordinates. Nevertheless, the equation generates
a curve, again with a shallow slope.
As a result, in a log(Į = incompatible) vs. log(ȕ = compatible) plot, fractional
crystallization generates an almost vertical trend while partial melting (both frac-
tional and batch) would result in a nearly horizontal one (Fig. 21.3).
50 PM
Co
Fractional
Partial mel 20
ting
Fractio
Batch
Ni ppm
Log (β)
nal cry
10
stalliza
5
tion
a 2 b
FC
100 200 500
Log (α) Sr ppm
Fig 21.3 a In a log(Į = incompatible) vs. log(ȕ = compatible) diagram, fractional crystallization
produces an almost vertical trend whereas partial melting results in a nearly horizontal one.
b Plot log(Sr) vs. log(Ni) showing that the Archaean TTG from eastern Finland (red circles)
evolved by fractional crystallization (FC) and not by partial melting (PM) (adapted from Martin
1987).
These diagrams are generally used to determine the main (or the latest) mecha-
nism that shaped the geochemical characteristics of a rock suite. However, they
can also help in proposing more complex scenarios (Fig. 21.4). In this case, each
successive melt batch from the same source fractionated independently.
198 21 Semi-Quantitative Geochemical Approach
Ni (ppm)
10 10
5 5 PM
1 1
FC FC
10
10 50 100 500 10 50 100 500
c – Le Cloître d – Le Huelgoat
50 50 5
Ni (ppm)
10 10
5 5
1 1
FC FC FC
Fig. 21.4 a–d Log(incompatible = Rb) vs. log(compatible = Ni) plots for Cadomian and Her-
cynian granites from Brittany. Six individual granitic suites (four of which are plotted here) de-
fine fractional crystallization (FC) trends, specific to each pluton. e The parental melts of each
pluton (darker, bigger symbols), however, plot along a batch melting trend (PM), the source be-
ing local metasediments (Georget 1986).
CLD C0D DD DJ
F (21.9)
CLJ C0J
CLD C0D
| (21.10)
CLJ C0J
CLD DJ DD C0D 1 DJ
CLD (21.11)
CLJ (1 DD )C0J C0J 1 DD
Nevertheless, since we are dealing with two elements with different degrees of in-
compatibility, Dα Dγ , Eq. (21.11) becomes:
CLD DJ D C0D
|
CLJ C0J
CL J 1 DJ
C0
(21.12)
D D J
which in a CL vs. CL / CL plot represents a straight line with a slope of DJ / C0J .
40
Melt inclusions
Puy Beaunit
30 Puy des Trois Sols
Puy Chaumont
Puy de la Vache
La/Yb
FC
20
10
PM
Chaîne des Puys lavas
0
0 20 40 60 80 100
La (ppm)
Fig. 21.5 A diagram La vs. La/Yb for compositions of whole rocks and melt inclusions in oli-
vines from the Quaternary Chaîne des Puys volcanoes (Central France) (same dataset as Exercise
21.1). Two distinct trends are clearly apparent. The steeper line, defined by melt inclusions and
the most primitive lavas, reflects mantle melting (PM). Its intercept at La 0 /Yb 0 is very low (as
typical of a mantle source). The horizontal line, formed by the more differentiated lavas, represents
fractional crystallization (FC) of the primary melt (redrawn after Jannot 2005).
This can be checked by a simple graph, also known as the “mixing test” (Fourcade
and Allègre 1981). Equation (6.23) can be rearranged as:
In the Central Bohemian Plutonic Complex (CBPC), Amp and Cpx-bearing mon-
zonites and monzogabbros are associated with the Kozárovice granodiorite
(Janoušek et al. 2000). In addition, the granodiorite contains small net-veined
bodies and enclaves of Bt–Amp quartz monzonite. Table 21.1 gives representative
compositions of all three main rock types.
kozamix.data
Table 21.1 Compositions of typical rock types in the Kozárovice Pluton (CBPC)
x Using major elements, test whether the quartz monzonite (M) could correspond
to a hybrid between granodiorite (1) and monzogabbro (2).
x If so, determine the proportion of granodiorite in the mixture.
SiO2
10
C M - C2
5
Al2O3
Na2O
K2O
MnO
TiO2
Fe2O3
0
FeO
CaO
MgO
−5
−10
−10 −5 0 5 10 15
C 1 - C2
Fig. 21.6 Major-element based mixing test for the Kozárovice quartz monzonite (Exercise 21.2);
C1, C2 and CM correspond to wt. % oxide in the acid end-member (granodiorite), basic end-
member (monzogabbro), and suspected hybrid (quartz monzonite); the slope of the regression
line gives the estimated proportion of the acid component f1 (68.4 %).
202 21 Semi-Quantitative Geochemical Approach
For Rayleigh-type fractionation, one may identify controlling phases using log–
log plots of whole-rock trace-element concentrations, in which the originally ex-
ponential trends are converted to linear ones [Eq. (21.2)]. This enables plotting
fractionation vectors, either for pure mineral phases, or any combination thereof.
A clever choice consists in using compatible elements, whose content sharply
decreases during fractional crystallization. Of course, such an approach requires
the prior determination, for the investigated system, of the compati-
ble/incompatible character of all elements (see Sect. 21.1).
Table 21.2 Partition coefficients for selected minerals in dacitic to rhyolitic melts (Hanson 1978)
Mineral Sr Ba
Amp 0.22 0.044
Bt 0.12 6.36
Kfs 3.87 6.12
Pl 4.4 0.31
blatna.data
hanson.data
550
450
400
Sr
350
300
Amp
Bt
Kfs
Pl
250
Ba
Fig. 21.7 Trace-element modelling of fractional crystallization in the Blatná suite. The arrows
portray the effects of 10 % fractionation of the minerals indicated (Exercise 21.3). The observed
trend can be accounted for by up to ca. 15 % fractionation of an assemblage dominated by K-
feldspar, or by a plagioclase–biotite mix in the right proportions. Geological constraints or other
diagrams must be used to decide between these two possibilities.
References
Janoušek V, Bowes DR, Braithwaite CJR, Rogers G (2000) Microstructural and mineralogical
evidence for limited involvement of magma mixing in the petrogenesis of a Hercynian high-
K calc-alkaline intrusion: the Kozárovice granodiorite, Central Bohemian Pluton, Czech
Republic. Trans Roy Soc Edinb, Earth Sci 91:15–26
Janoušek V, Wiegand BA, Žák J (2010) Dating the onset of Variscan crustal exhumation in the
core of the Bohemian Massif: new U–Pb single zircon ages from the high-K calc-alkaline
granodiorites of the Blatná suite, Central Bohemian Plutonic Complex. J Geol Soc London
167:347–360
Martin H (1987) Petrogenesis of Archaean trondhjemites, tonalites and granodiorites from east-
ern Finland; major and trace element geochemistry. J Petrol 28:921–953
Minster J, Allègre C (1978) Systematic use of trace elements in igneous processes. Part III:
inverse problem of batch partial melting in volcanic suites. Contrib Mineral Petrol 68:37–52
Rollinson HR (1993) Using geochemical data: evaluation, presentation, interpretation. Longman,
London
Schiano P, Allègre CJ, Dupré B, Lewin E, Joron J-L (1993) Variability of trace elements in basal-
tic suites. Earth Planet Sci Lett 119:37–51
Wall VJ, Clemens JD, Clarke DB (1987) Models for granitoid evolution and source composi-
tions. J Geol 95:731–749
Chapter 22
Constraining a Model
After completing the previous tasks, enough information should have been gath-
ered to decide on the likely processes shaping the composition of the suite. This
chapter will discuss setting different parameters for subsequent calculations.
First of all, one has to decide on “variants” of the model, e.g., batch vs. fractional
processes. The choice between these will be based on a balance between added
complexity (related to the number of free parameters that will have to be set), and
geological realism. Quite possibly, the best strategy is to test several variants of
the models, and see (i) whether they produce results that are significantly differ-
ent, and (ii) which one provides a better match with the data.
After that, a correct treatment has to be chosen for each element. Is it a major
(mass balance only), a dilute trace (partition coefficient) or an ESC-type (solubil-
ity-controlled) element? Again, the choice will be guided primarily by petrology,
especially by the nature of the minerals present. For instance, when a system only
contains smalls amounts of K 2O, e.g. during a partial melting of a phlogopite-bearing
peridotite, it is possible to consider that K 2 O behaves as a major element since it is a
stoichiometric component in phlogopite. However, this would imply knowing the
phlogopite composition, which may be difficult to constrain. On the other hand,
K2O can be treated as a trace element, by assuming that K DPhlK O/ L is constant. This
2
scenario leads to fewer assumptions and simplifies the computing procedure (for
instance by ignoring major elements and focussing on traces). We shall return to
this question in Exercise 22.1 and compare the results of different equations when
dealing with accessory minerals.
Finally, one must decide on the use of a forward or reverse approach. The un-
derlying logic is not the same. A forward model will be handy to test a hypothesis
(“can this cumulate account for the liquid line of descent as observed in the host
lavas?”). Reverse models would rather help in constraining an otherwise poorly
known process (“which cumulate modal composition may generate such trends?”).
All the equations established in parts II and III relate CL, C0, F and D; D itself is a
function of the mineral proportions in the solid (restite or cumulate) and of the
partition coefficients for each of the mineral phases. Some of these parameters can
be set from geological or geochemical constraints; the others can be calculated by
various modelling techniques.
Empirical/geological constraints
In a magmatic suite that evolved by fractional crystallization, the least differenti-
ated magma is commonly regarded as being the parental liquid. Whether this
composition is the primitive magma in a petrological sense, is open to discussion
(but frequently tends to be a reasonable approximation).
For melting, it is often possible to find equivalents of the likely source else-
where (low-grade equivalents along strike, mantle xenoliths…). On the other
hand, one of the modelling targets is to determine which (if any), among these po-
tential sources is the most plausible. One must think twice about facts that could
be considered as obvious. For instance, using unmelted (mesosome) enclaves in
migmatites is not advisable: if a rock escaped melting, it probably reflects a pecu-
liar, more refractory composition, and not at all that of the likely source.
Numerical/graphical constraints
Rarely, it is conceivable that the same source gave rise to several independent
magma batches that subsequently evolved following different fractionation paths.
For instance, this is the case of subduction-zone magmas primarily generated by
metasomatized mantle melting, and that, depending on their depth of emplace-
ment, the water content, etc., differentiate following distinct crystallization paths.
Then the trends defined by each suite would intersect in a single point, corre-
sponding to the common parental liquid (Fig. 22.1).
In a completely closed system (a small magma chamber for instance, such as a
small layered mafic complex), if one assumes that no magma has been lost during
crystallization, the primitive liquid is the sum of the compositions of all the rocks
present in the complex weighted by their relative abundances (McBirney and Noyes
1979).
a C
Series A
= liquids CA(1), CA(2)...
b 5
to cumulate CS
MgO + Fe2O3 wt. %
4
20
Inferred 3
β wt. %
C0 Cs
1
to cumulate 68 2
CSB Series B 2
Cs
= liquids CB(1), CB(2)...
10 Cs
3 70 72
4
Cs C0
Naavala
Kivijärvi
Series C Kivivaara
to cumulate CS
A
= liquids CC(1), CC(2)... Kuusamonkyla
0
α wt. % 50 60 70
SiO2 wt. %
Fig. 22.1 a Theoretical diagram showing three magmatic series differentiated from the same pa-
rental liquid C0, but with cumulates of different modal composition. In this case all differentia-
tion trends intersect at the C0 composition. b Example of four suites of Archaean TTG from
Eastern Finland, whose differentiation trends converge at about 67.5 wt. % SiO 2, the composition
considered as being that of the parental magma. After Martin (1985, 1987).
208 22 Constraining a Model
Sampled rocks
Biotite = liquids CL(1), CL(2)...
K2O wt.%
CS Inferred
te
ula C0
m
cu
to
Hornblende
SiO2 wt.%
Fig. 22.2 Evolution of a suite of cogenetic liquids. It cannot result from biotite fractionation (its
projection does not align with the trend) but can be driven by hornblende crystallization.
with iron oxides. None of these contains K2O (as also suggested by the steep posi-
tive trend in the SiO2–K2O plot), so we can additionally assume CSK2O 0 .
Taken together, we can constrain the cumulate composition on the dashed line
at K2O = 0, which yields SiO2 ~ 50 wt. % (red circle labelled CS). Knowing this
silica value and using the other diagrams, the composition of the cumulate for all
elements can be inferred.
10
Po
CS
ss
ib
CL
4
3.0
CL
le
9
CS
C0
8
CaO wt.%
Na2O wt.%
K2O wt.%
7
2.0
CS C0
6
CS
2
le
CS sib
5
s
1.0
ib
le
C0 Po
s
1
os
4
P
CL
3
0.0
CS 50 55 60 50 55 60 50 55 60
SiO2 wt.% SiO2 wt.% SiO2 wt.%
20
10
CS
8
Po
ss
ib
Po
7
le
19
CS
9
ss
Po CS C
ib
ss S
le
6
Al2O3 wt.%
8
ib C0
CS
MgO wt.%
FeOT wt.%
le
18
C C0
5
7
S
17
4
C0
6
3
5
16
2
CL
4
CL
15
1
3
50 55 60 50 55 60 CL 50 55 60
SiO2 wt.% SiO2 wt.% SiO2 wt.%
Fig. 22.3 Harker plots showing a series of calc-alkaline lavas (black asterisks), and a possible
graphical interpretation (red circles and the thick line). For explanation see text.
22.2 Constraining a Fractionation or Melting Model 211
where E is the site’s Young modulus (empirically determined, as is r0), & is the
Avogadro number, R the gas constant and T the temperature (in K).
So far this approach has been used for several simple minerals (clinopyroxene
and garnet, primarily). Smith and Asimow (2005) attempted to derive an internally
consistent set for all minerals involved in mantle melting.
212 22 Constraining a Model
10 +3
Lu
YbTm
10 +2 Ho
Y
Dy
Tb
10 +1 Gd
Sc
Eu
Sm
min/L
10 0
Ce3+
KD
10 –1 Nd
Pr
10 –2
10 –3
La
10 –4
0.8 0.9 1.0 1.1 1.2
Ionic radius (Å)
Fig 22.4 The lattice strain model applied to zircon–melt partition coefficients in a peralkaline
rhyolite at 700 °C. The fit is excellent for trivalent lanthanides, except Ce3+, which is due to the
presence of both Ce3+ and Ce4+ in the melt (Blundy and Wood 2003)
a b
0.2 mm 0.5 mm
Sete Voltas
a – Young grey gneisses b – Porphyritic
220 granodiorites
Zr (ppm)
180
140
100
70 72 74 72 74 76
SiO2 %
60
c – Mazury apatite
50
CaO wt.%
40
30 8
CaO wt.%
atit
e
ap
6
20
4
10 2
P2 O5wt.%
1 2
0
0 10 20 30 40 50
P2O5 wt.%
Fig. 22.6 Identifying the role of accessory minerals fractionation. a–b In the Sete Voltas Ar-
chaean plutonic suites (Brazil) (Martin et al. 1997), young grey gneisses show no correlation be-
tween SiO2 and Zr (a), whereas a strong negative correlation is observed in the porphyritic
granodiorites (b), implying zircon fractionation. c P2O5 vs. CaO diagram discloses the role played
by apatite during the differentiation of the Mazury granitoid Complex (Poland) (Duchesne et al.
2010). For P2O5 > 0.7 wt. %, data plot on a trend pointing towards the apatite composition.
214 22 Constraining a Model
With fAcc denoting its mass fraction and CAcc the content of the element under con-
sideration. If fS and fL refer to the mass fractions of the solid (other than the acces-
sory phase) and liquid, respectively:
f L f S f Acc 1 (22.2)
Since, by definition, accessory minerals occur in very small amounts, fAcc is negli-
gible compared to the other proportions. Then f L f S | 1 and the notation can be
simplified to the familiar form:
with D being the bulk distribution coefficient for all the mineral phases other than
the accessory mineral. This equation can be used in two alternative ways:
Using KD
It is possible to define empirical values of K DAcc / L for various accessory minerals.
Stoichiometric zircon, for example, has 497,644 ppm Zr. In a felsic melt, capable
of crystallizing this mineral, Zr contents typically range from 100 to 1000 ppm.
Consequently, K DZrn
Zr
/L
can be set between 500 and 5000 (Fig. 22.7). This value can
only be an approximation since, as we discussed (Sect.1 3.1) partition coefficients
22.3 Dealing with Accessory Minerals 215
for minerals controlled by solubility are not constant, but a function of CL and T
(see Exercise 22.1).
Owing to their large KD values, such accessory phases have a disproportionate
effect on the final value of D. Not all elements are equally affected, though. The
situation can be rather bad for Zr, Hf, and some of the REE depending on the sta-
bility of monazite, allanite or (less commonly) xenotime.
10000 10000 10000
Xenotime
Monazite
1000 1000 1000
KD
KD
KD
100 Titanite 100 100
Allanite
Apatite
10 10 10
Zircon
La Ce Nd Sm EuGd Dy Er Yb La Ce Nd Sm EuGd Dy Er Yb La Ce Nd Sm EuGd Dy Er Yb
Fig. 22.7 Empirical partition coefficients for REE in typical accessory minerals of felsic igneous
rocks. Strictly speaking, it is not possible to draw such a diagram for e.g. LREE in monazite or
allanite, as they are not dilute components in these minerals and KD is a function of concentra-
tion. However, these diagrams use a log scale, such that the variations of KD (suggested by the
grey fields) are reasonably small. Data sources: apatite and zircon: Nagazawa (1970); titanite:
Simmons and Hedge (1978); allanite: Mahood and Hildreth (1983); monazite: Fleischer and
Altschuler (1969); xenotime: Åmli (1975).
For instance, in a dacitic magma, all main rock-forming minerals have partition
coefficients for LREE (i.e. La) less than unity (Mahood and Hildreth 1983; Nash
and Crecraft 1985; Bacon and Druitt 1988; Sisson and Bacon 1992). However, if
only 0.1 wt. % of allanite crystallizes, since K DAll / L | 1000 , mAll K DAll / L 1 and La
becomes compatible, irrespective of the nature of the other 99.9 % of minerals.
A related trick is to take advantage of the fact that many accessories occur as
inclusions in rock-forming minerals (zircon in biotite for instance). Thus they will
fractionate (or melt) only when their host is involved. Instead of explicit model-
ling, one may simply adjust the KD value of the host phase. This would be a sum
of the KD values for the host and the accessory, weighted by their mass fractions:
mZrn
C0Zr CLZr sat
(22.5)
Zr
c Zrn
Zr
with cZrn = 497,644 ppm in stoichiometric zircon. The resulting mZrn value (typi-
cally small) should be integrated into the calculation of D for other elements.
The situation is more complex when several accessory minerals play a role
(e.g., monazite and zircon) as they will “compete” for the trace elements
available! The solubility equations must then be solved simultaneously.
We shall develop a (forward) model accounting for the evolution of a rock suite
undergoing fractional crystallization. The concentration of Zr (and potentially any
other trace element hosted by zircon) will be modelled using several approaches
(solubility or ad-hoc values of KD), that will be compared.
22.3 Dealing with Accessory Minerals 217
Table 22.1 Mineral proportions and mineral–liquid partition coefficients used in Exercise 22.1
noisy.data
mincomp.data
kd.data
As already seen, the zircon saturation equation [Eq. (13.1)] is temperature depend-
ent. Based on experimental data on fractionation of andesites (e.g. Almeev et al.
2013; Blatter et al. 2013; Nandedkar et al. 2014), we will use the following (to-
tally empirical!) equation to link composition and chemistry:
SiO2 56
T (q C) 1020 u 300 (22.6)
16
The core of the model is the following function that returns the composition of the
evolved liquid (CL) for a given value of F, with and without accounting for zircon
saturation. The function calculates:
x Mass balance for major elements;
x Ordinary (Rayleigh-type) partitioning of trace elements, without saturation;
x Zr saturation values (using the Saturation plugin of GCDkit). If the Zr concen-
tration estimated by partitioning is lower, the system is not saturated. Other-
wise, the excess Zr should form zircon: we set the Zr concentration of the melt
to the saturation value, and recalculate the D and CL for remaining elements1.
GCDkit-> cl.f <- function(ff,c0,cs,minprop){
GCDkit-> # Major elements
GCDkit-> maj <- (c0[mjrs]-(1-ff)*cs[mjrs])/ff
GCDkit-> # Trace elements (omitting solubility)
GCDkit-> D <- minprop%*%kd # D values, not accounting for Zrn sat!
GCDkit-> tr <- c0[trc]*ff^(D[1,trc]-1)
GCDkit-> # Saturation values
GCDkit-> milcats <- millications(maj[mjrs])
GCDkit-> sat.data <- zrSaturation(milcats,T=t.c(maj["SiO2"]),
+ Zr=WR["a13","Zr"]) # call Saturation plugin
GCDkit-> Zr.sat <- sat.data["Zr.sat"]
1
This is actually a slight approximation, as the trace-element content for each step is calculated
relative to C0. A more precise approach would be an iterative calculation, whereby the concen-
tration for each step is obtained based on that from the previous step. The resulting model,
however, is not very different, such that this more complex approach is not justified by the
improvement in accuracy.
22.3 Dealing with Accessory Minerals 219
The rest is simple; we define a range of F values and sapply the above function to
them. A nice feature of this approach is that we model CL compositions for all
elements (major and traces) simultaneously, based on the same assumptions. Thus
the model is internally consistent and can be plotted on any diagram.
GCDkit-> f.1 <- seq(1,0.42,by=-0.01)
GCDkit-> qq <- sapply(f.1,cl.f,c0=c0.1,cs=cs.1,minprop=minprop1)
GCDkit-> fwd.mod <- t(qq)
Zrn / L
We can also look at the (apparent) K DZr :
GCDkit-> print(497644/fwd.mod[,"Zr"])
As expected, its value changes during fractionation; the average of ca. 3080 justi-
fies our choice of 3100 for the simplified calculation.
Now, for comparison, we will calculate a fractionation curve (for the portion of
the diagram above zircon saturation level—i.e. above ca. 66 % SiO2). First, we find
220 22 Constraining a Model
the saturation point, i.e. the last step for which the Zr content is the highest2. This
becomes the new C0, which is plotted.
GCDkit-> j <- which.max(fwd.mod[,"Zr"])
GCDkit-> c0.2 <- fwd.mod[j,]
GCDkit-> points(c0.2["SiO2"],c0.2["Zr"],cex=2,pch=8,col="purple")
The range of F values must also be redefined, relative to the new source. Since
this composition was obtained for f.1[j] = 0.54, we have Fnew = Fold/0.54 and
the new range of F values will be from 0.54/0.54 = 1 to 0.42/0.54 = 0.78. We can
use the previous function, cl.f: it will give extra information, so we will keep
only what is needed. Before invoking it, we must modify the mineral proportions
by adding the required amount of zircon. Finally, we plot the curve on top of the
previous diagram.
GCDkit-> zrc.amount <- 0.002
GCDkit-> f.2 <- f.1[j:length(f.1)]/f.1[j]
GCDkit-> minprop2 <- minprop1
GCDkit-> minprop2["Zrn"] <- zrc.amount
GCDkit-> minprop2 <- minprop2/sum(minprop2)
GCDkit-> qq <- sapply(f.2,cl.f,c0=c0.2,cs=cs.1,minprop=minprop2)
GCDkit-> fwd.mod2 <- t(qq)
GCDkit-> lines(fwd.mod2[,"SiO2"],fwd.mod2[,"Zr_nosat"],col="purple")
By invoking the previous code repeatedly (changing the value for zrc.amount) or,
even better, wrapping it in a function taking zrc.amount as a parameter, we gen-
erate Fig. 22.8a. The same code (replacing “Zr” by “Y”) provides Fig. 22.8b.
The best fit is obtained for a zircon mass fraction of 0.25 % (2.5 × 10–3) (solid
curve). Using a saturation model, the amount of zircon varies from 10 –5 to 5 ×10–4,
i.e. is orders of magnitude lower. Therefore, the effect of this approach is more pro-
nounced on other elements. The effect of zircon on Y is visible, but tiny, and
likely to be drowned in analytical uncertainties.
This exercise demonstrates several points, some of which will be addressed latter:
x The need to model simultaneously major and trace elements (obvious in the
case of Zr solubility!), as opposed to simply drawing curves on a diagram;
x The fact that elaborate models (here, based on solubility) do not necessarily
provide a better match to the data than simple ones (here, a Rayleigh law); es-
pecially if the data, like all natural datasets, are noisy;
x The effect of accessory phases on other elements is noticeable, but normally
negligible (even with large KD). This is a result of their low modal abundance.
2
We could also look for the last step with a predicted amount of zircon equal to 0.
22.4 Constraining the End-Members of a Mixing Model 221
300
25
a b
250
20
0.1 %
0.25 %
200
0.5 %
15
1%
Zr
Y
0.
150
10
%
100
5
0.2
0.5
1%
5%
%
50
0
55 60 65 70 75 55 60 65 70 75
SiO2 SiO2
Fig. 22.8 a Comparing models based on zircon solubility (red), with those using a KD approach
(here with K DZrn
Zr
/L
= 3100, purple). Various mass proportions of zircon (1, 0.5, 0.2 and 0.1 wt. %)
are labelled on the curves. The C0 for these models is the purple star. The dashed red curve por-
trays the evolution with no zircon at all (beyond the saturation point). Squares correspond to the
actual dataset (noisy.data). b Effects of the same models on Y concentration.
is high, the isotopic composition will be essentially buffered until high degrees of
contamination. For example, Bohemian Variscan lamprophyres and ultrapotassic
intrusions have high Sr and Nd contents that rendered them resistant to crustal as-
similation during intrusion. For this reason, their crust-like Sr–Nd isotopic signa-
ture must reflect enriched mantle source or its contamination by a deeply sub-
ducted felsic crust (Janoušek et al. 2010).
References
Almeev R, Holtz F, Ariskin AA, Kimura JI (2013) Storage conditions of Bezymianny Volcano
parental magmas: results of phase equilibria experiments at 100 and 700 MPa. Contrib
Mineral Petrol 166:1389–1414
Åmli R (1975) Mineralogy and rare earth geochemistry of apatite and xenotime from the
Gloserheia granite pegmatite, Froland, southern Norway. Amer Miner 60:607–620
Bacon CR, Druitt TH (1988) Compositional evolution of the zoned calc-alkaline magma cham-
ber of Mount Mazama, Crater Lake, Oregon. Contrib Mineral Petrol 98:224–256
Berman RG (1990) Mixing properties of Ca − Mg − Fe − Mn garnets. Amer Miner 75:238–344
Blatter DL, Sisson TW, Hankins WB (2013) Crystallization of oxidized, moderately hydrous arc
basalt at mid- to lower-crustal pressures: implications for andesite genesis. Contrib Mineral
Petrol 166:861–886
Blundy J, Wood B (1994) Prediction of crystal melt partition coefficients from elastic moduli.
Nature 372:452–454
Blundy J, Wood B (2003) Mineral–melt partitioning of uranium, thorium and their daughters.
In: Bourdon B, Henderson GM, Lundstrom CC, Turner SP (eds) Uranium-series geochem
istry. Mineralogical Society of America Reviews in Mineralogy and Geochemistry, vol 52,
pp 59–123
Connolly JAD, Petrini K (2002) An automated strategy for calculation of phase diagram sec-
tions and retrieval of rock properties as a function of physical conditions. J Metamorph Geol
20:697–708
de Capitani C, Petrakakis K (2010) The computation of equilibrium assemblage diagrams with
Theriak/Domino software. Amer Miner 95:1006–1016
Duchesne J-C, Martin H, Bagiński B, Wiszniewska J, Vander Auwera J (2010) The origin of
ferroan–potassic A-type granitoids: the case of the hornblende–biotite granite suite of the
Mesoproterozoic Mazury Complex, northeastern Poland. Canad Mineral 48:947–968
Elburg MA (1996) Evidence of isotopic equilibration between microgranitoid enclaves and host
granodiorite, Warburton Granodiorite, Lachlan Fold Belt, Australia. Lithos 38:1–22
Evans OC, Hanson GN (1993) Accessory-mineral fractionation of rare-earth element (REE)
abundances in granitoid rocks. Chem Geol 110:69–93
Fleischer M, Altschuler ZS (1969) The relationship of the rare earth composition of minerals to
geological environment. Geochim Cosmochim Acta 33:725–732
Ghiorso MS, Sack RO (1995) Chemical mass-transfer in magmatic processes. 4. A revised and
internally consistent thermodynamic model for the interpolation and extrapolation of liquid–
solid equilibria in magmatic systems at elevated temperatures and pressures. Contrib Mineral
Petrol 119:197–212
Ghiorso MS, Hirschmann MM, Reiners PW, Kress VC (2002) The pMELTS: a revision of
MELTS for improved calculation of phase relations and major element partitioning related to
partial melting of the mantle to 3 GPa. Geochem Geophys Geosyst 3:1–35
Gualda GAR, Ghiorso MS, Lemons RV, Carley TL (2013) Rhyolite-MELTS: a modified cali-
bration of MELTS optimized for silica-rich, fluid-bearing magmatic systems. J Petrol
53:875–890
References 223
Holland TJB, Powell R (1998) An internally consistent thermodynamic dataset for phases of pet-
rological interest. J Metamorph Geol 16:309–343
Holland TJB, Powell R (2011) An improved and extended internally consistent thermodynamic
dataset for phases of petrological interest, involving a new equation of state for solids.
J Metamorph Geol 29:333–383
Hoskin PWO, Schaltegger U (2003) The composition of zircon and igneous and metamorphic
petrogenesis. In: Hanchar JM, Hoskin PWO (eds) Zircon. Mineralogical Society of America
and Geochemical Society Reviews in Mineralogy and Geochemistry, vol 53, pp 27–62
Hoskin PWO, Kinny PD, Wyborn D, Chappell BW (2000) Identifying accessory mineral satura-
tion during differentiation in granitoid magmas: an integral approach. J Petrol 41:1365–1396
Janoušek V, Bowes DR, Braithwaite CJR, Rogers G (2000) Microstructural and mineralogical
evidence for limited involvement of magma mixing in the petrogenesis of a Hercynian high-
K calc-alkaline intrusion: the Kozárovice granodiorite, Central Bohemian Pluton, Czech
Republic. Trans Roy Soc Edinb, Earth Sci 91:15–26
Janoušek V, Holub FV, Magna T, Erban V (2010) Isotopic constraints on the petrogenesis of
the Variscan ultrapotassic magmas from the Moldanubian Zone of the Bohemian Massif.
Mineral Spec Pap 37:32–36
Mahood GA, Hildreth EW (1983) Large partition coefficients for trace elements in high-silica
rhyolites. Geochim Cosmochim Acta 47:11–30
Martin H (1985) Nature, origine et évolution d’un segment de croûte continentale archée-
nne: contraintes chimiques et isotopiques. Exemple de la Finlande orientale. Mémoires et
Documents du Centre Armoricain d’Etude Structurale des Socles, vol 1, Rennes
Martin H (1987) Petrogenesis of Archaean trondhjemites, tonalites and granodiorites from east-
ern Finland; major and trace element geochemistry. J Petrol 28:921–953
Martin H, Sabaté P, Peucat J-J, Cunha JC (1997) Crustal evolution in the early Archaean of South
America: example of the Sete Voltas Massif, Bahia state, Brazil. Precambr Res 83:35–62
McBirney AR, Noyes RM (1979) Crystallization and layering of the Skaergaard intrusion.
J Petrol 20:487–554
Nagazawa H (1970) Rare Earth concentrations in zircon and apatite and their host dacite and
granites. Earth Planet Sci Lett 9:359–364
Nandedkar R, Ulmer P, Müntener O (2014) Fractional crystallization of primitive, hydrous arc
magmas: an experimental study at 0.7 GPa. Contrib Mineral Petrol 167:1–27
Nash WP, Crecraft HR (1985) Partition coefficients for trace elements in silicic magmas.
Geochim Cosmochim Acta 49:2309–2322
Pin C, Binon M, Belin JM, Barbarin B, Clemens JD (1990) Origin of microgranular enclaves in
granitoids—equivocal Sr–Nd evidence from Hercynian rocks in the Massif Central (France).
J Geophys Res 95:17821–17828
Rollinson HR (1993) Using geochemical data: evaluation, presentation, interpretation. Longman,
London
Shaw DM (2006) Trace elements in magmas: a theoretical treatment. Cambridge University
Press, Cambridge
Simmons EC, Hedge CE (1978) Minor-element and Sr-isotope geochemistry of Tertiary stocks,
Colorado mineral belt. Contrib Mineral Petrol 67:379–396
Sisson TW, Bacon CR (1992) Garnet/high-silica rhyolite trace element partition coefficients
measured by ion microprobe. Geochim Cosmochim Acta 56:2133–2136
Smith P, Asimow P (2005) Adiabat_1ph: a new public front-end to the MELTS, pMELTS, and
pHMELTS models. Geochem Geophys Geosyst 6: doi: 10.1029/2004GC000816
Tajčmanová L, Connolly J, Cesare B (2009) A thermodynamic model for titanium and ferric iron
solution in biotite. J Metamorph Geol 27:153–165
White RW, Powell R, Holland TJB (2001) Calculation of partial melting equilibria in the sys-
tem CaO–Na2O–K2O–FeO–MgO–Al2O3–SiO2–H2O (CNKFMASH). J Metamorph Geol
19:139–153
White RW, Powell R, Holland TJB (2007) Progress relating to calculation of partial melting
equilibria for metapelites. J Metamorph Geol 25:511–527
Chapter 23
Numerical Tips and Tricks
Z a Z b
Z c Z d
Fig. 23.1 A straight line in a X vs. Y binary diagram may (a) or may not (b) correspond to a true
binary mixing array in the underlying p-dimensional space (here, p = 3). In the same way, a tri-
angle may (c) or may not (d) reflect a mixing between three end members in the full
p-dimensional space ( p = 3).
When PCA is applied to geochemical datasets from igneous rocks, the first com-
ponent often reflects differentiation (it is positively correlated to SiO 2, and nega-
tively to MgO and FeO). Experimenting with your own datasets will reveal that
the first three or four principal components generally carry up nearly all of the to-
tal variance of the dataset. Practically, this indicates that it is not possible to deci-
pher more than three or four components of the geochemical signal, for instance
end members in mixing.
Whenever a mineral is the only, or main, host for a specific element (e.g. Ti in
ilmenite), the amount of this phase in the fractionating solid assemblage can be de-
termined independently. Moreover, its chemical inventory can be subtracted and
the “remaining” bulk composition adjusted accordingly. From a mathematical
point of view, this amounts to removing one equation (for the element used), and
one unknown (the given mineral mass fraction) from the system.
Likewise, if a mineral is a simple oxide (quartz, rutile), the relevant element
can be adjusted independently from the others. This is equivalent to reducing n
(number of minerals) by 1.
23.3 Colinearity
It is common for several mineral assemblages to share the same bulk composition.
For instance, a mixture of 1 Fo + 1 Qtz is chemically equivalent to 2 En:
Fo Qtz En
Mg2 SiO4 SiO2 2 MgSiO3 (23.1)
Olivine
C0
CS Orthopyroxene
Quartz
SiO2 wt.%
Fig. 23.2 Olivine, orthopyroxene and quartz are linearly aligned. Here, a fractionation trend is
controlled by a cumulate with composition of CS, falling on the line between quartz and olivine.
CS can be expressed equally well as a mixture of olivine + orthopyroxene, or olivine + quartz,
but the second option is petrologically unlikely as these two minerals do normally not coexist.
228 23 Numerical Tips and Tricks
1
Note that the phase rule is not violated, as the increase in number of components is a pure nu-
merical exercise—physically, the phases were solid solutions.
23.5 Coupling Majors and Traces 229
A common strategy involves a mixed approach, solving the reverse problem for
major elements (least-square method), and using the mineral proportions as the in-
put into a forward model for traces (see Martin 1987 for an example of this
approach, or the Part VI).
References
Allègre CJ, Hamelin B, Provost A, Dupré B (1987) Topology in isotopic multispace and origin of
mantle chemical heterogeneities. Earth Planet Sci Lett 81:319–337
Iwamori H, Nakamura H (2012) East–west mantle geochemical hemispheres constrained from
independent component analysis of basalt isotopic compositions. Geochem J 46:e39–e46
Martin H (1987) Petrogenesis of Archaean trondhjemites, tonalites and granodiorites from east-
ern Finland; major and trace element geochemistry. J Petrol 28:921–953
Reimann C, Filzmoser P, Garrett R, Dutter R (2008) Statistical data analysis explained: applied
environmental statistics with R. Wiley, Chichester
Spear FS (1994) Metamorphic phase equilibria and pressure–temperature–time paths.
Mineralogical Society of America Monographs. Mineralogical Society of America,
Washington
Torres-Roldan RL, Garcia-Casco A, Garcia-Sanchez PA (2000) CSpace: an integrated workplace
for the graphical and algebraic analysis of phase assemblages on 32-bit Wintel platforms.
Comput Geosci 26:779–793
Chapter 24
Common Sense in Action
2rp 2 g 'U
vs (24.1)
9K
where vs is the sinking velocity, rp the particle’s radius, g gravitational constant,
'U the density difference between the particle and the melt, and K the viscosity.
In a non-Newtonian fluid, the critical radius below which a crystal would not
sink solely under the effect of gravity is (McBirney and Noyes 1979):
3V y
rcrit (24.2)
g 'U
where Vy is the yield strength of the fluid. In a typical felsic magma, K = 105 Pa.s, Vy
= 10 Pa and Umagma = 2300 kg.m–3 (Turcotte and Schubert 1982). The critical radius
for a zircon (U = 4650 kg.m–3: Anthony et al. 2014) is ca. 1.3 mm: it is unlikely that it
would reach this size. Therefore, gravitational settling is unable to extract this mineral
out of the magma from which it crystallized. A biotite has a lower density (U = 3000
kg.m–3; Anthony et al. 2014), but typically a larger size; its critical radius is 4.4 mm, a
perfectly feasible size for a biotite in a felsic magma. The sinking velocity of a 5 mm
biotite is, from Eq. (24.1), 3.8 × 10 –7 m.s–1 (ca. 12 m/yr). Crystal/liquid segregation
would be possible but sluggish.
A mafic or ultramafic melt has a much lower viscosity: ca. 1 Pa.s in komatiites,
50–100 Pa.s in basalts (Spera 2000). Under these conditions, a 1 mm olivine
24.1 Physical Constraints 233
(U = 3400 kg.m–3; Anthony et al. 2014) may reach a sinking velocity of 1–2 mm/s
in a komatiitic magma.
Pure gravitational settling is appropriate for magma chambers subject to no ex-
ternal stress: a situation possible for e.g. mafic layered intrusions (McBirney and
Noyes 1979), but very unlikely for large felsic bodies (Bouchez 1997). In the lat-
ter case crystal–liquid segregation may be assisted by processes such as filter-
pressing or magma flow (Bachmann and Bergantz 2004, 2008).
Melting
The key issue that governs melt extraction from the partially molten source is the
connectivity of the melt network. This is controlled by the wetting angle of the
melt phase in its solid matrix (Laporte 1994). A wetting angle below 60° would
result in an interconnected melt network even for low melt fractions (Fig. 24.1a);
whereas higher wetting angles would yield melt in small, isolated pockets at grain
boundaries (Fig. 24.1b). Experimental data show that the wetting angles tend to be
low for minerals such as olivine, but higher for quartz and feldspars (Laporte
1994). Therefore in mafic systems, the melt is easily segregated from its residue;
in felsic rocks, melt segregation is much more difficult to achieve.
a b
Fig. 24.1 Wetting angle and melt network connectivity. a With a wetting angle < 60°, melt forms
an interconnected network along grain boundaries. b When the wetting angle is > 60°, melt con-
centrates in isolated pockets at the grain corners (Laporte 1994). © Springer
Chemical equilibrium is attained when the reactants and products of a reaction are
present in concentrations that do not change with time. Thermal equilibrium oc-
curs when there are no temperature changes in the system. In both cases, this does
not preclude a dynamic balance of heat or material fluxes between components of
the system.
Perfect equilibrium is never achieved in nature. It is however possible to break
down a continuous process into a succession of infinitesimal equilibrium states,
between which parameters (temperature, concentration…) vary only slightly.
For each step, the system can be treated as in equilibrium, which implicitly as-
sumes that it reacts sufficiently fast to the changes.
In geochemical modelling, the term “equilibrium” is used to imply such a situa-
tion, i.e. a system reacts to (temperature-induced mostly) changes more quickly
than is the rate of heating or cooling. This tends to be a sound assumption, because
heat diffusion1 is sluggish in natural materials (e.g. Turcotte and Schubert 1982),
whereas the kinetics of mineral reactions is strongly temperature-dependent, and
therefore reasonably fast at igneous temperatures (Spear 1994). However, there
may be situations where this assumption fails—in particular when the anatexis
was short-lived, the system dry or cold, the source infertile and/or some of its
components incapable of equilibrating with the melt. Some minerals are refractory
and difficult to re-equilibrate; others may have failed to communicate with the
melt, having been shielded by such refractory, or newly grown peritectic, phases
(Watson and Harrison 1984). Also the solubility of accessories, often hosting a
significant proportion of trace elements and radiogenic isotopes, is limited
(Chap. 13). This is shown e.g., by the common occurrence of inherited zircon in
low-T, anatectic granites (Miller et al. 2003).
In all these scenarios, equilibrium is not attained, primarily because the chemi-
cal process is slower than the rate of temperature change. However, one may note
that this definition largely relies on equilibration time, itself a function of the sys-
tem size. From this observation is derived the concept of “equilibration volume”,
i.e. the portion of a system that is small enough to allow equilibrium. This notion,
although not new (Blackburn 1968) is increasingly used as a tool to decipher
complex metamorphic textures, such as partially reacted assemblages or
1
Of course, if heat advection or convection are significant, disequilibrium, in the sense discussed
here, is much more likely.
24.2 Scale and Speed of Processes ... 235
phenocrysts preserved from igneous protolith (e.g. Tinkham and Ghent 2005
amongst others). In effect, a very similar approach is used for igneous rocks. In a
“non-modal” melting model, one assumes that only a part of the system (although
its spatial extent is not explicitly specified) was involved in melting. “Disequilib-
rium”2 approaches (i.e. models based on melting or crystallization affecting only
a portion of a rock) have been successfully used to account for trace-element
(Barbero et al. 1995; Villaros et al. 2009) or isotopic (Knesel and Davidson 1996;
Farina and Stevens 2011; McLeod et al. 2012) characteristics of melts, primarily
during (relatively low-T) crustal melting.
From this it is clear that the notion of equilibrium (from an igneous perspective)
is very strongly dependent on the scale of observation. Pushing the reasoning to
the absurd, it is clear that equilibrium is not attained at the scale of the whole man-
tle (melts generated there are not in equilibrium with a bulk mantle composition).
As one looks at smaller volumes, equilibrium becomes more likely. On the other
hand, there is in general little point in considering equilibrium volumes that are
too small (a few grains). The resulting melts are likely to be eventually mixed and
homogenised, and any such subtle chemical variations erased.
The size of the equilibration volume to consider for geochemical modelling of
magmatic rocks has to be decided on a case-by-case basis. Depending on the tem-
perature of the processes studied, duration, presence of fluids etc., it may range
from a few mm3 (similar to equilibration domains in metamorphic petrology),
through a hand-specimen, to that of a rock unit.
In general, the more complex the model, the longer it will take to develop. It is,
therefore, important to think beforehand whether it is worth the added complexity,
and how precise or detailed an answer is needed. In addition, complex models
tend to require more input data: fewer parameters of a simple scenario are likely to
be much better constrained that many of a complex one. Finally, a model is not
built for its own sake, but for comparison with real data. If they are of poor quality
(be it for analytical problems, or limited understanding of the geology involved),
modelling will fail to discriminate between possible solutions.
2
Depending on the context, the opposite to “equilibrium” can be either “disequilibrium” or
“fractional”, which is why the term “equilibrium” is not used in this book to describe a class of
models (see Warning box at beginning of Chap. 11). Fractional melting (or crystallization) is
not a disequilibrium process, as the system still reacts sufficiently fast to the changes to be re-
garded as in equilibrium at any point in time!
236 24 Common Sense in Action
3
The code generating this dataset is given in full on the Web site.
24.3 Is Your Model Worth Your Efforts? 237
generate a better model than simpler approaches. Therefore, it is wise to start with
using basic equations, and resort to more complex models only when needed.
50
a b c
50
1000
30
30
Ba
Ni
Ni
800
10
10
600
0
30 40 50 60 0 50 100 200 30 40 50 60
Rb V Rb
20 50
20 50
1000
d e f
log (Ba)
log (Ni)
log (Ni)
800
5
2
2
600
30 40 50 60 10 20 50 200 1 30 40 50 60
log (Rb) log (V) log (Rb)
50
g h
1.2
60
0.8
50
1/Ni
30
Rb
Ni
40
0.4
10
30
i
0.0
0 20 40 60 0 20 40 60 0 20 40 60
Rb/Ni Rb/Ni Rb/Ni
Fig. 24.2 Effects of analytical noise and projection used to represent the data. The dataset plotted
(noisy.data, black squares) was calculated by adding random noise to a Rayleigh fractiona-
tion evolution (thick red curve, i.e. the “true” model). The blue and green curves correspond to
mixing and batch melting models. In many cases, a poor choice of axes leads to diagrams where
distinct models are not distinguishable. The dashed line in (i) is a linear fit to the dataset.
4
Such a diagram was recently spotted by one of the authors in a presentation that shall re-
main anonymous.
238 24 Common Sense in Action
a b
50
50
40
40
30
30
Ni
Ni
20
20
10
10
0
20 30 40 50 60 20 30 40 50 60
Rb Rb
Fig. 24.3 Simulation of the effects imposed on Rayleigh-type fractionation curves by uncertain-
ties in D (a) and C0 (b). In both plots, the thick red curve is calculated using the “real” value for
C0 (Rb = 30 ppm and Ni = 50 ppm; red star) and D (DRb = 0.025 and DNi = 6.6). The black
squares represent the “noisy” dataset. For explanation, see text.
Figure 24.3a investigates the effect of errors on D. Fifty dark red curves were gen-
erated by randomly choosing DNi and DRb within 20 % of the true value, i.e.
1.2×Dreal > D > Dreal/1.2. The resulting scatter is noticeable, but not higher than
the typical dispersion of whole-rock analyses from magmatic series. An error of
this magnitude will most likely be drowned by other uncertainties (sampling, ana-
lytical, etc.). Two hundred pink curves were calculated by choosing D values such
that 2×Dreal > D > Dreal/2. Here the scatter is worse, although the overall shape of
the fractionation curve is preserved. This suggests that there is little to gain in re-
fining D beyond a certain point.
In Fig. 24.3b we investigate the effect of uncertainties of the same magnitude
on C0. Quite clearly, an error of 20 % still gives acceptable results, although much
24.3 Is Your Model Worth Your Efforts? 239
worse than in Fig. 24.3a. On the other hand, curves generated by an error of a fac-
tor of two cover the whole diagram.
In general, it must be kept in mind that the composition of a melt is also a func-
tion of the source (or primitive liquid) composition (C0) and F—parameters for
which there are considerable uncertainties. Even though KD is a source of error, it
is perhaps not the worst offender in most models. It seems more important to en-
sure that the ratios between individual KD are right, as this would eventually con-
trol the ratio in the melt. Indeed, many geochemists would rely more on ratios
(such as Zr/Nb, Nb/Ta, etc.) than on absolute values. On the other hand, a good
determination of C0 is more crucial, as it can easily lead to meaningless results.
This is perhaps more important during partial melting, as modelling relies on a se-
lection of a possible, although rarely known, source; whereas the primitive liquid
of a fractionating series is generally observed. In other words, the most important
aspect of modelling is to get the geology right, and to understand what is actually
melting (or fractionating)!
In a sense, the most critical input parameter in any model remains the geological
understanding. There is, for instance, little point in trying to build a model for a
dataset that includes rock units of distinct ages. Therefore, modelling should be
endured on a well-designed dataset, including only relevant data. This may in-
volve heart-breaking decisions, such as discarding some of your precious analyses.
In any case, such a judgement can only be made on the basis of geological under-
standing of the studied region.
Finally, one cannot stress strongly enough that the ultimate test for a model is
its geological consistency. Therefore, models that invoke sources absent from the
studied area; that predict volumes of rocks not matching the observed distribution;
that require thermal regimes totally at odds with the local record, or impossibly
high melt amounts are of no use. Although such models may pass the geochemical
tests, reproduce observed compositions and otherwise seem satisfactory at first
glance, one must keep in mind that geological data in the broadest sense are just as
valuable as geochemical ones. Indeed, the ultimate goal of modelling is to provide
an explanation for all the observations, regardless of their origin, and shed some
light onto the evolution of existing rocks in their geological context.
And so, as a final word of caution, perhaps unexpected in a text on geochemical
modelling, we would like to encourage you to return again and again to the obser-
vation of field relationships, geological maps, samples and thin sections…
If you don’t understand it—map it!
––– An anonymous geologist
240 24 Common Sense in Action
References
Annen C, Blundy JD, Sparks RSJ (2006) The sources of granitic melt in Deep Hot Zones. Trans
Roy Soc Edinb, Earth Sci 97:297–309
Anthony JW, Bideaux RA, Bladh KW, Nichols MC (2014) Handbook of Mineralogy (web ver-
sion). Mineralogical Society of America. http://www.handbookofmineralogy.org
Arzi AA (1978) Critical phenomena in the rheology of partially melted rocks. Tectonophysics
44:173–184
Bachmann O, Bergantz GW (2004) On the origin of crystal-poor rhyolites: extracted from batho-
lithic crystal mushes. J Petrol 45:1565
Bachmann O, Bergantz GW (2008) Rhyolites and their source mushes across tectonic settings.
J Petrol 49:2277–2285
Barbero L, Villaseca C, Rogers G, Brown P (1995) Geochemical and isotopic disequilibrium in
crustal melting: an insight from the anatectic granitoids from Toledo, Spain. J Geophys Res
100:15745–15765
Bea F (2012) The sources of energy for crustal melting and the geochemistry of heat-producing
elements. Lithos 153:278–291
Blackburn W (1968) The spatial extent of chemical equilibrium in some high-grade metamorphic
rocks from the Grenville of southeastern Ontario. Contrib Mineral Petrol 19:72–92
Bouchez J-L (1997) Granite is never isotropic: an introduction to AMS studies of granitic rocks.
In: Bouchez J-L, Hutton DHW, Stephens WE (eds) Granite: from segregation of melt to
emplacement fabrics. Kluwer Academic Publications, Dordrecht, pp 95–112
Chayes F (1971) Ratio correlation: a manual for students of petrology and geochemistry.
University of Chicago Press, Chicago
De Paolo DJ (1981) Trace element and isotopic effects of combined wallrock assimilation and
fractional crystallization. Earth Planet Sci Lett 53:189–202
Farina F, Stevens G (2011) Source controlled 87Sr/86Sr isotope variability in granitic magmas:
the inevitable consequence of mineral-scale isotopic disequilibrium in the protolith. Lithos
122:189–200
Henk A, von Blanckenburg F, Finger F, Schaltegger U, Zulauf G (2000) Syn-convergent high-
temperature metamorphism and magmatism in the Variscides: a discussion of potential heat
sources. In: Franke W, Haak V, Oncken O, Tanner D (eds) Orogenic processes: quantification
and modelling in the Variscan Belt. Geological Society of London Special Publications, vol
179, pp 387–399
Knesel KM, Davidson JP (1996) Isotopic disequilibrium during melting of granite and implica-
tions for crustal contamination of magmas. Geology 24:243–246
Laporte D (1994) Wetting behavior of partial melts during crustal anatexis: the distribution
of hydrous silicic melts in polycrystalline aggregates of quartz. Contrib Mineral Petrol
116:486–499
Le Maître RW (1982) Numerical petrology. Elsevier, Amsterdam
McBirney AR, Noyes RM (1979) Crystallization and layering of the Skaergaard intrusion.
J Petrol 20:487–554
McLeod CL, Davidson JP, Nowell GM, de Silva SL (2012) Disequilibrium melting during crus-
tal anatexis and implications for modeling open magmatic systems. Geology 40:435–438
Miller CF, McDowell SM, Mapes RW (2003) Hot and cold granites? Implications of zircon satu-
ration temperatures and preservation of inheritance. Geology 31:529–532
Reiners PW, Nelson BK, Ghiorso MS (1995) Assimilation of felsic crust by basaltic magma:
thermal limits and extents of crustal contamination of mantle-derived magmas. Geology
23:563–566
Roberts MP, Clemens JD (1995) Feasibility of AFC models for the petrogenesis of calc-alkaline
magma series. Contrib Mineral Petrol 121:139–147
References 241
Rock NMS (1988) Numerical geology. A source guide, glossary and selective bibliography
to geological uses of computers and statistics. Lecture Notes in Earth Sciences, vol 18.
Springer, Berlin
Rollinson HR (1993) Using geochemical data: evaluation, presentation, interpretation. Longman,
London
Rosenberg CL (2001) Deformation of partially molten granite: a review and comparison of
experimental and natural case studies. Int J Earth Sci 90:60–76
Sawyer EW, Cesare B, Brown M (2011) When the continental crust melts. Elements 7:229–234
Spear FS (1994) Metamorphic phase equilibria and pressure–temperature–time paths.
Mineralogical Society of America Monographs. Mineralogical Society of America,
Washington
Spera FJ (2000) Physical properties of magma. In: Sigurdsson (ed) Encyclopedia of volcanoes.
Academic Press, San Diego, pp 171–189
Stokes GG (1901) Mathematical and physical papers, vol 3. Cambridge University Press,
Cambridge
Taylor HP, Jr, Sheppard SMF (1986) Igneous rocks: I. Processes of isotopic fractionation and
isotope systematics. In: Valley JW, Taylor HP, Jr, O’Neil JR (eds) Stable isotopes in high
temperature geological processes. Mineralogical Society of America Reviews in Mineralogy,
vol 16, pp 227–271
Thompson AB, Connolly JAD (1995) Melting of the continental crust: some thermal and pet-
rological constraints on anatexis in continental collision zones and other tectonic settings.
J Geophys Res 100:15565–15579
Tinkham DK, Ghent ED (2005) Estimating PT conditions of garnet growth with isochemi-
cal phase-diagram sections and the problem of effective bulk-composition. Canad Mineral
43:35–50
Turcotte DL, Schubert G (1982) Geodynamics: applications of continuum physics to geological
problems. John Wiley and Sons, New York
Vigneresse JL, Burg J-P (2004) Strain-rate dependent rheology of partially molten rocks. In:
Grocott J, McCaffrey KJW, Taylor G, Tikoff B (eds) Vertical coupling and decoupling in the
lithosphere. Geological Society of London Special Publications, vol 227, pp 327–336
Villaros A, Stevens G, Moyen J-F, Buick IS (2009) The trace element composition of S-type
granites: evidence for disequilibrium melting and accessory phase entrainment in the source.
Contrib Mineral Petrol 158:543–561
Watson EB, Harrison TM (1984) Accessory minerals and the geochemical evolution of crustal
magmatic systems: a summary and prospectus of experimental approaches. Phys Earth Planet
Inter 35:19–30
Part VI Worked Examples
Geochemical modelling is never conducted in isolation, but with the goal of un-
derstanding the geological evolution of a specific rock unit. Therefore, it is
strongly dependent on regional geology and petrological descriptions and can be
endeavoured only after such a complex study. In this part, although space does not
allow presenting a full geological description, we nevertheless try to demonstrate
how a model is grounded on such observations.
Different rock units pose different challenges in terms of modelling. The ob-
servables and the unknowns for instance are not the same. The processes may dif-
fer, and contrasting physical properties of mafic and felsic systems, lavas and in-
trusive units, call for different strategies. Here we illustrate two different
approaches, on intermediate lavas on the one hand, and felsic (anatectic) melts on
the other.
Chapter 25 deals with the evolution of a calc-alkaline differentiation series,
from recent Andean volcanoes in Ecuador. We show that fractional crystallization
was the dominant process, and that all the lavas in the volcano are related by frac-
tionation from a common parent. The differentiation story is modelled here as a
two-step process, with distinct cumulate compositions. We also explore some un-
certainties of the modelling exercise and discuss the range of possible solutions
permissible by geochemistry.
Chapter 26 presents a different challenge, modelling of crustal partial melting
to form a migmatitic complex. In this environment, the melts are not well ex-
tracted from their solid residue. They are poorly homogenised and their composi-
tion largely reflects the variability of the available sources. On the other hand,
field relations allow to directly constrain the local melt amount. Finally, increasing
melt fractions correspond to successive melting reactions, and thus a residue with
an evolving composition. We propose, therefore, a strategy based on describing
the evolution of melt’s composition for a given source as a function of the melt
amount (and therefore of the nature of the residue), and of the source’s composi-
tion. We bracket the possible range of melts between the compositions derived
from two end-member sources.
Chapter 25
Differentiation of a Calc-Alkaline Series:
Example of the Atacazo-Ninahuilca
volcanoes, Ecuador1
In Ecuador, South America, the Nazca Plate is being subducted under the South
American Plate (Fig. 25.1). It also carries an oceanic plateau (the Carnegie Ridge),
generated by the magmatic activity of the Galapagos hot spot, into the subduction
zone. The Ecuador volcanic arc, known as the Northern Volcanic Zone of the
Andes, is made up of over 50 Quaternary volcanoes.
R
bia
EN
Ninahuilca
Co
Galapagos
TE
0°
Carnegie Ridge
MER
Galapagos Quaternary
Islands
TH A
volcanic
Ecuador centers
ult
SOU
Fig. 25.1 a Simplified geodynamic setting of the Northern Volcanic Zone of the Andes. Black
circles represent volcanic edifices while the dark grey fields are for oceanic plateaux (adapted
from Gutscher et al. 1999). b Geographical position of the fifty-five Quaternary volcanoes in the
Ecuador volcanic arc, with the position of the Atacazo-Ninahuilca Complex also marked.
One of these is the Atacazo-Ninahuilca Complex that consists of two main units:
1
Based on the work by S. Hidalgo (Hidalgo 2006; Hidalgo et al. 2012).
x The Atacazo, made of lava flows and domes emplaced between 220 and 71 ka.
Their composition ranges from andesites to dacites, which generally contain
30–50 vol. % phenocrysts of plagioclase, clinopyroxene, orthopyroxene, horn-
blende and Fe–Ti oxide (Fig. 25.2).
x The younger Ninahuilca erupted from 71 to 2.32 ka. The volcanic activity con-
sisted mainly of dome emplacement and pumice eruptions. The lavas are
dacites containing 20–40 % phenocrysts of plagioclase, hornblende, orthopy-
roxene, biotite and Fe–Ti oxide.
1 cm
Fig. 25.2 Lavas from Atacazo volcano. A dark grey groundmass contains common plagioclase
phenocrysts (white), as well as less abundant phenocrysts of pyroxene, amphibole and
Timagnetite (Photo S. Hidalgo).
atacazo.data
First we navigate to the right directory and import the data file atacazo.data into GCDkit:
GCDkit-> loadData("atacazo.data")
As it contains columns 87Sr/86Sr and 143Nd/144Nd, the isotope plugin will start,
and ask about the age of emplacement (here 0.1 Ma, close enough to zero to make
no difference). Selecting Append Sr-Nd isotopic data from the Sr–Nd plugin
menu, or running the corresponding command, allows subsequent plotting of
87
Sr/86Sri and H iNd like any other variable from WR:
GCDkit-> addResultsIso()
GCDkit-> multiple("SiO2",c("87Sr/86Sri","EpsNdi"))
GCDkit-> plateLabelSlots(pos="topleft",style="") #labels a, b
25.2 Data Exploration and Implications 247
5.0
a b
0.70435
4.8
4.6
0.70425
Sr/86Sr0
4.4
HNd0
4.2
87
0.70415
4.0
3.8
3.6
0.70405
54 56 58 60 62 64 66 54 56 58 60 62 64 66
SiO2 SiO2
Fig. 25.3 SiO2 vs. 87Sr/86Sr0 (a) and H 0 (b) plots showing that both Atacazo (filled green cir-
Nd
cles) and Ninahuilca (open red circles) Sr and Nd isotopic ratios are homogeneous and mutually
comparable; they vary over a very small range and are not correlated with SiO 2.
The Sr and Nd isotopic ratios vary in the same range in both Atacazo and Nina-
huilca lavas (Fig. 25.3) and, as demonstrated by Hidalgo (2006), they are not cor-
related with SiO2. Thus it can be concluded that the late crustal contamination
played a limited, if any, role during magmatic differentiation. If contamination oc-
curred, it was in the source, earlier on. Also recent O isotopic investigations con-
firmed negligible crustal contamination (Hidalgo et al. 2012).
In Harker diagrams, all oxides show nice correlations with SiO 2 (Fig. 25.4). They
are negative (CaO, Fe2O3 and MgO) or positive (Na2O and K 2O). For Al2O 3, the
trend starts with a (poorly defined) positive slope and bends to a negative one at
ca. 64 wt. % SiO2. For most elements, Ninahuilca and Atacazo lavas plot on the
same trends. However, for Al 2O3 and MgO (Fe2O3 to a lesser degree), an inflec-
tion occurs between the compositions from both volcanoes. Such a pattern cannot
be achieved by binary mixing; the differentiation mechanisms were either partial
melting or fractional crystallization (with a changing cumulate composition).
248 25 Differentiation of a Calc-Alkaline Series …
18.0
10
8
7
9
6
17.0
Fe2O3
Al2O3
MgO
8
5
4
7
16.0
3
6
2
15.0
1
54 58 62 66 54 58 62 66 54 58 62 66
SiO2 SiO2 SiO2
4.5
1.4
10
9
1.2
4.0
8
Na2O
1.0
CaO
K2O
3.5
7
0.8
6
3.0
0.6
5
2.5
0.4
4
54 58 62 66 54 58 62 66 54 58 62 66
SiO2 SiO2 SiO2
Fig. 25.4 Harker plots for the Atacazo (green, solid) and Ninahuilca (red, open) lavas.
Most often, Atacazo and Ninahuilca data do not fall on a single straight trend
in SiO2 vs. trace-element diagrams. Rather, they tend to form inflexed lines.
This again rules out binary mixing. In addition, the content of some elements
(Rb, Ba, La and Th) increases in the course of differentiation: they are incom-
patible during this process. In contrast, Yb, Cr, Ni and V are anti-correlated
with SiO2, thus pointing to their compatible behaviour.
25.2 Data Exploration and Implications 249
25
800
0.6
TiO2
0.4
Rb
Ba
15
400
0.2
5
0.0
0
54 58 62 66 54 58 62 66 54 58 62 66
2.0
8
Yb
Th
La
1.0
6
1.0
4
2
0.0
0.0
0
54 58 62 66 54 58 62 66 54 58 62 66
200
40
Zr
Ni
V
40
100
20
0
54 58 62 66 54 58 62 66 54 58 62 66
Figure 25.6 is a plate filled by three binary plots (Plot|Plate of several plots, or
equivalent command). For instance, for the second plot, the GCDkit code is
(note the choice of plotting limits to ensure the same scale on the x and y axes):
GCDkit-> multiplePerPage(3,nrow=1,ncol=3,title=NULL)
GCDkit-> Plate(2) # Selects the second slot
GCDkit-> binary("Ba","Cr",log="xy",xmin=5,ymin=5,xmax=1100,ymax=1100,
+ new=F)…
250 25 Differentiation of a Calc-Alkaline Series …
5.0 10.0
50
500
20
10 20 50 100
Yb
0.5 1.0 2.0
Cr
Ni
10
5
Some of the binary plots of SiO2 vs. major or trace elements are inflexed (Figs
25.4 and 25.5). Consequently, we will model differentiation as a two-step process.
During each of them, the cumulate composition remains constant, but it changes in
between. For each step, the composition of the parental magma (C0) is approxi-
mated by the least differentiated lava, while the most differentiated one represents
the evolved liquid (CL). During the first step, we model fractionation of ATAC-4
to ATAC-58, and in the second of ATAC-58 to NINA-54.
The mineral compositions in the datafile are taken from phenocrysts in the
more primitive lavas (Hidalgo 2006). However, the plagioclase can be very vari-
able and prone to reequilibration: therefore, we use two pure end-members (Ab
and An) instead, to be subsequently recombined. The same holds for the Fe–Ti ox-
ide that we treat as a ‘solid solution’ of magnetite with rutile, irrespective of the
actual mineral present (Ti-magnetite).
Partition coefficients are compiled from the literature (mostly Rollinson 1993).
Two sets of values are present for amphibole, as its KD does vary significantly be-
tween mafic and intermediate liquids.
atacazo.data
atacazo_mins.data
atacazo_kd.data
The full code supplied on the Web page defines four functions. The first:
rev.maj <- function(c0.lab,cL.lab,min.set,norm=F){…
calculates reverse models based on majors; since this is pure mass balance,
it would also work for melting (see exercises 9.1 and 9.2). The function:
is designed for forward modelling of major and trace elements, in the course
of either melting or fractional crystallization. This is similar to, although more
complete than, the exercises 8.1–3, 14.2, 14.3, 22.1. The function returns a list
with cS, cL (fractionated liquid composition) and dd.
The following arguments are required by these functions:
x c0.lab, cL.lab: names of the existing samples with C0 and CL composi-
tions,
x min.set: a character vector containing the names of the minerals to be
considered, they must match those from the KD and mineral composition
files,
x m: a named vector containing the mineral proportions (0–1), the names
must match those from the KD and mineral composition files,
x ff: the value of F (melt amount; 0ĺ1),
x norm: logical, indicating whether all the major-element data should be
normalized to 100 % before calculation,
x eqn: "FC" or "PM", the model type to be used for forward calculations.
In addition, the following variables are required in the system:
x WR: the (GCDkit) numeric matrix of whole-rock compositions,
x min.tab: a data frame/matrix with mineral compositions,
x kd.tab: a data frame/matrix with partition coefficients.
252 25 Differentiation of a Calc-Alkaline Series …
Modelling the first stage (Atacazo), with a Cpx-bearing cumulate yields excellent
fit (ȈR2 = 0.08) for major elements. The cumulate consists of an assemblage Cpx
+ Opx + Pl (An54) + Ti-Mt. The model requires 46.9 wt. % of cumulate (F =
0.531) to be removed from the melt (Table 25.1).
2
Adding zircon does not help here, unless unrealistically high amounts of this mineral are in-
voked. The calculation is skipped to save space, see Exercise 22.1 for a very similar case.
254 25 Differentiation of a Calc-Alkaline Series …
100
a b Modelled CL
CL (ATAC-58)
C0 (ATAC-4)
100
10
10
1
La Ce Nd SmEuGd Dy Er Yb Rb Ba Th Nd La Ce Sr Nd Zr Sm Eu Dy Y Yb
Fig. 25.7 Chondrite-normalized REE patterns (a: Boynton 1984) and Primitive Mantle-normalized
multi-element diagram (b: McDonough and Sun 1995), showing that a clinopyroxene-bearing cumu-
late cannot account for the trace-element variation in the Atacazo lavas.
1000.0
1000.0
a b c
100.0
100.0
100.0
10.0
10.0
10.0
2
2
R
R
R
1.0
1.0
1.0
0.1
0.1
0.1
0.3 0.4 0.5 0.6 0.7 0.8 0.15 0.25 0.35 0.45 0.04 0.06 0.08 0.10 0.12
Model Atacazo—1amp
As previously, we invoke our script with:
GCDkit-> min.set.1amp <- c("Opx","Ab","An","Rt","Mt","Amp")
GCDkit-> mod1amp <- rev.maj(c0.lab,cL.lab,min.set.1amp,norm=T)
GCDkit-> print(mod1amp,3)
$ff
F
0.483…
The plagioclase can be recombined to 45.9 % of labradorite (An52).
We then calculate the trace-element contents, with and without zircon:
GCDkit-> cL1amp <- fwd.mod(c0.lab,mod1amp$m,mod1amp$ff)$cL[trc]
GCDkit-> zr.added <- 0.008/100
GCDkit-> ee <- c(mod1amp$m,zr.added)
GCDkit-> min.prop.1ampzrc <- ee/sum(ee)
GCDkit-> names(min.prop.1ampzrc) <- c(min.set.1amp,"Zrn")
GCDkit-> cL1ampzrc <- fwd.mod(c0.lab,min.prop.1ampzrc,
+ mod1amp$ff)$cL[trc]
3
The Zr content is calculated here by using a K DZrn / L ( Zr ) of 3750 (see Exercise 22.1).
256 25 Differentiation of a Calc-Alkaline Series …
100
a b Modelled CL
Modelled CL (with zircon)
CL (ATAC-58)
100
10
10
1
La Ce Nd SmEuGd Dy Er Yb Rb Ba Th Nd La Ce Sr Nd Zr Sm Eu Dy Y Yb
Fig. 25.9 Chondrite-normalized REE patterns (a: Boynton 1984) and Primitive Mantle normal-
ized multi-element diagram (b: McDonough and Sun 1995), showing the results of modelling the
differentiation of Atacazo lavas with an amphibole-bearing cumulate, with or without zircon.
It is worth realizing that the major-element model(s) are not very discriminant.
Both models calculated have given good to excellent numerical results. It is even
possible to generate a range of other models, numerically slightly worse but still
withȈR2 < 0.1, i.e. very acceptable (Fig. 25.8). This is partly a result of our strat-
egy—by breaking down both plagioclase and Fe–Ti oxide into end-members, we
are actually significantly loosening the constraints on the model. Still, all of the
models are broadly similar in petrological terms (the cumulate includes about 50
% of a fairly calcic Pl, some 5 % of Fe–Ti oxides, and either two pyroxenes or
Opx + Amp). The discrimination between the two contrasting scenarios (Amp vs.
Cpx) is possible only by using trace elements.
Of course, a reverse approach4 can also be used for trace elements (Sect. 12.1
and Exercise 15.1). It leads to the same conclusion (Table 25.1): an Amp-free cu-
mulate cannot account for the observed trace-element compositions. The “best”
models derived from majors and traces yield essentially similar proportions of
cumulus minerals: c. 15–20 % Opx, 40–45 % Pl, 30–40 % Amp and 2–3 % Ti-Mt.
Up to 4 % Cpx has no major effect on the fit. Realistically, the subtle differences
between the models have no geological significance!
4
NB the KD values used here are similar for different ‘minerals’ of the KD table (e.g., Ab and
An). This is fine for the forward models but causes the reverse code (function rev.tr.fc) to
behave erratically. The KD table must be adjusted to remove these duplicates. Of course, the re-
verse model is then unable to break down the plagioclase into the two end-members.
25.3 Geochemical Modelling 257
rather than the modelled composition of the differentiated liquid of Step 1. The fi-
nal liquid of Step 2 is taken as NINA-54. The main difference from the previous
model is that orthopyroxene does not crystallize anymore, but small amounts of
biotite enter the cumulate. The fractionating assemblage is thus: Amp + Bt + Pl
(An66) + Ti-Mt (Table 25.2).
The function calls are very similar to those made previously (note the use of
“amp2” instead of “amphibole”, to invoke the second set of KD values):
GCDkit-> c0.lab <- "ATAC-58"; cL.lab <- "NINA-54"
GCDkit-> min.set.2 <- c("Ab","An","Rt","Mt","amp2","Bt")
GCDkit-> mod2 <- rev.maj(c0.lab,cL.lab,min.set.2,norm=T)
GCDkit-> print(mod2,3)
$ff
F
0.868…
GCDkit-> cL2 <- fwd.mod(c0.lab,mod2$m,mod2$ff)$cL[trc]
GCDkit-> zr.added <- 0.12/100
GCDkit-> ee <- c(mod2$m,zr.added)
GCDkit-> min.prop.2zrc <- ee/sum(ee)
GCDkit-> names(min.prop.2zrc) <- c(min.set.2,"Zrn")
GCDkit-> cL2zrc <- fwd.mod(c0.lab,min.prop.2zrc,mod2$ff)$cL[trc]
GCDkit-> foo <- rbind(WR[c0.lab,trc],WR[cL.lab,trc],cL2[trc],
+ cL2zrc[trc])
GCDkit-> spider(foo,"Boynton",ymin=1,ymax=100,col=c("darkblue",
+ "darkgreen","green","chartreuse2"),pch=c(15,16,1,6),
+ new=F)
GCDkit-> spider(foo,"^Primitive Mantle..McDonough 1995",ymin=1,
+ ymax=500,col=c("darkblue","darkgreen","green",
+ "chartreuse2"),pch=c(15,16,1,6),new=F)
2 2
Type of Zircon Mineral proportions (wt. %), F ȈR ȈR
model present? (majors) (traces)
Reverse Pl(An66): 63.9, Amp: 19.0, Bt: 8.0, Mt: 9.1;
No 0.02 0.91
majors + F = 0.868
forward Pl(An66): 63.9, Amp: 19.0, Bt: 8.0, Mt: 9.1,
traces Yes 0.02 0.23
Zrn: 0.12; F = 0.868
100
a b Modelled CL
Modelled CL (with zircon)
CL (NINA-54)
100
10
10
1
La Ce Nd SmEuGd Dy Er Yb Rb Ba Th Nd La Ce Sr Nd Zr Sm Eu Dy Y Yb
Fig. 25.10 Chondrite-normalized REE patterns (a: Boynton 1984) and Primitive Mantle normal-
ized multi-element diagram (b: McDonough and Sun 1995), showing the results of modelling the
differentiation of sample ATAC-58.
22
8
12
Fe2O3
20
Al2O3
10
MgO
6
18
4
16
45 50 55 60 65 70 45 50 55 60 65 70 45 50 55 60 65 70
4.5
1.2
4.0
9
1.0
Na2O
CaO
K2O
8
3.5
0.8
7
3.0
0.6
6
5
0.4
2.5
45 50 55 60 65 70 45 50 55 60 65 70 45 50 55 60 65 70
Fig. 25.11 Harker diagrams (wt. %), summarizing the results of the two-step model for major
elements. In addition to the sample compositions (same symbols as in Fig. 25.3), the first step
(ATAC-4 to ATAC-58, Amp + Zrn version) is plotted in dark green and the second (ATAC-58
to NINA-54, with Zrn) in dark red. Squares are C0 (ATAC-4 and ATAC-58 respectively); trian-
gles are the cumulates, CS; large circles are calculated compositions of the differentiated liquids,
CL. The CS to C0 segments of the models are dashed, the C0 to CL segments solid.
25.4 Summary 259
1000
30
25
800
20
Rb
Ba
600
15
400
10
200
5
56 60 64 68 56 60 64 68
SiO2 SiO2
2.5
2.0
12
2.0
1.5
10
Yb
Th
La
1.0
1.5
8
0.5
1.0
6
0.0
0.5
4
56 60 64 68 56 60 64 68 56 60 64 68
200
10 20 30 40 50 60 70
180
160
Zr
Ni
80
V
140
70
120
60
100
50
56 60 64 68 56 60 64 68 56 60 64 68
Fig. 25.12 Binary plots of silica (wt. %) vs. selected trace elements (ppm), summarizing the re-
sults of the two-step model for trace elements. Same caption as Fig. 25.11. Top left slot is inten-
tionally left empty, to facilitate comparison with Fig. 25.5.
25.4 Summary
The preferred model is summarized in Figs. 25.11 and 25.12. Examining these
diagrams reveals that our model is perhaps not ideal. There are many ways to im-
prove it. One could for instance try different mineral compositions (if the
phenocrysts are indeed compositionally variable), or change partition coefficients
(within the range of permissible values). One may settle for different mineral pro-
portions, estimated with other approaches (e.g., using the reverse modelling of
traces). One may also question the choice of C0 for each step: for example,
260 25 Differentiation of a Calc-Alkaline Series …
ATAC-4 has the lowest SiO2, but is out of the main trend for Zr and Yb. Finally,
one could also build the model for the second stage using as a primitive magma,
C0(2), the outcome of the first step (CL(1)) rather than an existing composition.
The tools provided here will allow the critical readers to investigate these options,
and many more, for themselves!
References
Boynton WV (1984) Geochemistry of the rare-earth elements: meteorite studies. In: Henderson P
(ed) Rare Earth Element geochemistry. Elsevier, Amsterdam, pp 63–114
Gutscher MA, Malavieille J, Lallemand S, Collot J-Y (1999) Tectonic segmentation of the North
Andean margin: impact of the Carnegie Ridge collision. Earth Planet Sci Lett 168:255–270
Hidalgo S (2006) Les interactions entre magmas calco-alcalins “classiques” et adakitiques:
exemple du complexe volcanique Atacazo-Ninahuilca (Equateur). Unpublished PhD. thesis,
Université Blaise-Pascal, Clermont-Ferrand
Hidalgo S, Gerbe MC, Martin H, Samaniego P, Bourdon E (2012) Role of crustal and slab com-
ponents in the Northern Volcanic Zone of the Andes (Ecuador) constrained by Sr–Nd–O iso-
topes. Lithos 132:180–192
McDonough WF, Sun SS (1995) The composition of the Earth. Chem Geol 120:223–253
Rollinson HR (1993) Using geochemical data: evaluation, presentation, interpretation. Longman,
London
Chapter 26
Progressive Melting of a Metasedimentary
Sequence: the Saint-Malo Migmatitic Complex,
France1
Syn-tectonic granites 10 km
Migmatites
Gneiss (amphibolite facies)
Micaschists (greenschist facies)
Other/Quaternary cover
Saint-Malo Cancale
Saint-Briac Dinard
Saint-Jacut N
Langrolay
Fig. 26.1 Simplified geological map of the Saint-Malo Massif showing the geographical distribu-
tion of the main lithologies; the degree of metamorphism increases northwards, i.e. towards the
core of the dome (redrawn after geological map of France and Martin 1980). Inset: sketch map of
France for orientation; arrow shows the location of the Saint-Malo Massif.
1
Adapted from Brown (1979), Martin (1977, 1979, 1980) and Weber et al. (1985).
2 cm 2 cm
c d
5 cm 0.5 cm
Fig. 26.2 Field photos of Saint-Malo migmatites, showing different stages of partial melting:
a metatexites (F § 29 %) ; b banded diatexites (F § 47 %); c nebulitic diatexites (F § 76 %);
d anatectic granite (F § 96 %).
stmalo.data
After loading the data file, we colour the data points according to the degree of
melting, as one of the main features that we will model. The two samples of un-
melted gneisses, having a value of 0 for Melt_frac, remain grey.
GCDkit-> loadData("stmalo.data")
GCDkit-> assignColVar("Melt_frac","reds")
As previously (Chap. 25), binary plots of silica vs. major-element oxides and trace
elements are plotted using:
GCDkit-> multiple("SiO2","Al2O3,Fe2O3,MgO,CaO,Na2O,K2O") # Fig. 26.3
GCDkit-> multiple("SiO2","Rb,Sr,Zr,Ni,Cr,V")# Fig. 26.4
GCDkit-> plate0YLim() # to set zeroes as minima to all y axes
● ●
16
●
● 3
6
●
●
●
Al2O3
●
MgO
15
Fe2O3
●●
2
●●● ● ●● ● ●
●
4
●● ●
● ●●
14
● ●
1
●● ●●
2
●
●● ● ●
● ●●●● ●●●
●●
● ●●
13
0
0
64 68 72 76 64 68 72 76 64 68 72 76
SiO2 SiO2 SiO2
1.0 1.1 1.2 1.3 1.4 1.5
●
6
5
●
●
● ●
●
● ● ●
●● ●
5
●
4
CaO
● ● ●
K2O
Na2O
● ●● ●
● ● ● ●
● ●
● ●● ●
● ● ●
● ● ●
● ● ●●
●
4
3
● ● ●● ●
● ●
●
3
2
64 68 72 76 64 68 72 76 64 68 72 76
SiO2 SiO2 SiO2
Fig. 26.3 Harker diagrams; many show considerable scatter (CaO, Na2O, K2O) while in others,
the data define a crude general trend. Unmelted samples = grey squares; leucosomes = circles,
colour-coded by the melt fraction (the brighter red, the higher).
When plotted in binary plots where SiO2 has been selected as the index of differ-
entiation, both major (Fig. 26.3) and trace (Fig. 26.4) elements generally scatter
264 26 Progressive Melting of a Metasedimentary Sequence …
around a very rough trend. In the worst cases (e.g. CaO, Sr), it is hard to honestly
define it. This poses a challenge to modelling and calls for adequate strategies.
● ●
● ●●
●●
●● ●● ●
Rb
● ●
Sr
Zr
●●
● ●●● ●● ●
● ● ●
● ●●●●
50
●●●●
0
0
0
64 68 72 76 64 68 72 76 64 68 72 76
SiO2 SiO2 SiO2
120
80 100
●
60
●
●
80
60
●
40
Cr
Ni
V
● ●
●●●
40
●●
40
● ● ● ●●●
20
●●● ● ● ●
● ●●●
● ●● ●● ●
20
●●● ● ●●
●●●●
●●●
●
●
0
0
0
64 68 72 76 64 68 72 76 64 68 72 76
SiO2 SiO2 SiO2
Fig. 26.4 Trace elements plotted against SiO2. These diagrams mostly do not define real trends
but scatter widely.
During fluid-present melting of rocks with excess plagioclase, this mineral can be
consumed by melting on the plagioclase–quartz cotectic:
Qtz Pl H 2O L (26.2)
In the modelled compositions, white mica is rare. Thus, the next significant melt-
ing reaction is incongruent melting of biotite, at relatively low T (~720–750 °C):
Table 26.1 Stoichiometry of the successive melting reactions. Note that the sum of all reactants
is equal to the sum of the products (closed-system behaviour)
40
a MRG b QFG
30
30
full system
full system
20
20
10
10
0
0
0 20 40 60 80 100 0 20 40 60 80 100
F (%) min. prop (wt. %) F (%)
min. prop (wt. %)
0 10 20 30 40 50 60
c 0 10 20 30 40 50 60 d
MRG QFG
restite (m)
restite (m)
0 20 40 60 80 100 0 20 40 60 80 100
F (%) F (%)
Fig. 26.5 Mineral proportions as a function of the degree of melting, for MRG (a and c) and
QFG (b and d) compositions. Panels a and b show the proportions relative to the whole system
(including melt): as F increases, the proportions of all reactant decrease, but the proportion of
peritectic minerals (cordierite) rises. Panels c and d show the proportions in the restite (m), used
for further calculations. Although the proportions of e.g. feldspars do decrease in absolute terms,
as they are incorporated into the melt, for F values above ca. 80 % other minerals (biotite) get
into the melt at a faster rate such that the relative amount of feldspar in the restite does increase.
stmalo_stc_mrg.data
stmalo_stc_qfg.data
26.3 Geochemical Modelling 267
We define a function that would calculate the mode of the system for each melt
increment, as a function of the initial mode, the stoichiometry of the reaction and
the degree of melting (F). As long as the stoichiometric coefficients remain con-
stant, this can be calculated relative to the original mode m0. For this calculation
we treat the melt fraction as a “mineral” phase:
GCDkit-> mins <- c("Qtz","Kfs","Ab","An","Bt","Sil","Crd")
GCDkit-> mm <- c(mins,"Melt")
GCDkit-> melt.mode <- function(m0,stc,ff){
GCDkit-> m <- m0[mm]+ff/100*stc[mm]
GCDkit-> return(m)
GCDkit-> }
For the mica-rich gneiss (MRG) for instance, we load the file and prepare the data:
GCDkit-> stc.tab <- read.table("stmalo_stc_mrg.data",sep="\t")
GCDkit-> stc.tab <- as.matrix(stc.tab)
Next, we are looking for the mode of the residue for each 1% melt increment; this
corresponds to several successive stages of melting with different melting reac-
tions. We must, therefore, cycle first through each stage (this will be done using a
for loop) and then for each melting increment (for this purpose we shall use the
function sapply, as we have done in Chap. 25). Each stage corresponds to one line
of stc.tab (2 to 5, in the case of composition MRG). The number of melt incre-
ments within a stage is given by the difference between Fmax for this stage, and
Fmax at the end of the previous stage; for this purpose we generate a vector f.r
with values ranging from 1 to the required number of elements (melt increments).
We first initialize a matrix res (to the pre-melting mode). We need drop=F be-
cause res must be a one-row matrix and not a vector, otherwise we cannot extract
the subset res[nrow(res),mm] below.
GCDkit-> res <- stc.tab["m0",mm,drop=F] # initialize res
Then we loop through each stage, updating res before moving on:
GCDkit-> for(i in 2:5){ # corresponding to lines of stc.tab
GCDkit-> f.r <- seq(1,stc.tab[i,"Fmax"]-stc.tab[i-1,"Fmax"],1)
GCDkit-> stc <- stc.tab[i,mm]
GCDkit-> m0 <- res[nrow(res),mm] # The last line of prev stage
GCDkit-> ee <- t(sapply(f.r,FUN=function(z){
GCDkit-> melt.mode(m0,stc,z)
GCDkit-> }))
GCDkit-> res <- rbind(res,ee) # update res before the next step
GCDkit-> }
It is convenient to also have the values of the total Pl amount stored in res:
GCDkit-> Pl <- res[,"Ab"]+res[,"An"]
GCDkit-> mode.mrg <- cbind(res,Pl)
268 26 Progressive Melting of a Metasedimentary Sequence …
In the same way, we generate mode.qfg for the QFG composition. The full code is
supplied on the Web page.
Plotting is done by first creating an empty graph; and then adding lines to it, e.g.:
GCDkit-> plot(1,1,ylim=c(0,40),xlim=c(0,100),pch="",xlab="F",
+ ylab="min. prop. in full system")
GCDkit-> lines(mode.mrg[,"Melt"],mode.mrg[,"Qtz"],lwd=1.5,col="grey")
GCDkit-> lines(mode.mrg[,"Melt"],mode.mrg[,"Kfs"],lwd=1.5,col="blue")
Etc. # Fig. 26.5a
In the case of the plots showing proportions in the residue, we must normalize to
the bulk rock (i.e. divide by 1–F):
GCDkit-> plot(1,1,ylim=c(0,60),xlim=c(0,100),pch="",xlab="F",
+ ylab="min. prop. in residue (m)")
GCDkit-> lines(mode.mrg[,"Melt"],mode.mrg[,"Qtz"]/
+ (100-mode.mrg[,"Melt"])*100,lwd=1.5,col="grey")
Etc. # Fig. 26.5c
stmalo_mins.data
stmalo_kd.data
For this purpose, we will use the function fwd.mod defined in Chap. 25 as:
fwd.mod <- function(c0.lab,m,ff,norm=F,eqn="FC"){…
Thus demonstrating the versatility of our function and the way we can re-use our
previous work! We first prepare the required data:
GCDkit-> min.tab <- read.table("stmalo_mins.data",sep="\t")
GCDkit-> kd.tab <- read.table("stmalo_kd.data",sep="\t")
GCDkit-> mjrs <- c("SiO2","Al2O3","Fe2O3","MgO","CaO","Na2O","K2O",
+ "TiO2")
GCDkit-> trc <- c("Rb","Sr","Zr","Ni","Cr","V")
26.3 Geochemical Modelling 269
We will then apply the function fwd.mod to each line of the matrix mode.mrg
containing the modal proportions:
GCDkit-> c0.lab <- "MRG"
GCDkit-> melts.mrg <- t(apply(mode.mrg,1,function(z){
GCDkit-> m <- z[mins]/(100-z["Melt"])
GCDkit-> ff <- z["Melt"]/100
GCDkit-> ee <- fwd.mod(c0.lab,m,ff,eqn="PM")$cL
GCDkit-> return(ee)
GCDkit-> }))
We do the same for QFG, and plot our model on top of the data (Fig. 26.6). The
full code is supplied on the Web page.
Figure 26.6 shows that, both for major and trace elements (except Zr), the compo-
sitions of the leucosomes evolve in a restricted band, limited by the models calcu-
lated by the end-member compositions MRG and QFG. Such behaviour leads to
the conclusion that the scatter in leucosome compositions reflects the source
heterogeneity and that partial melting of the Saint-Malo gneisses perfectly
accounts for the leucosome compositions.
In this case, the main process shaping the chemistry is the evolution of the res-
tite mode during melting. It is constrained by experimental data, with the numbers
tweaked to get a consistent evolution (i.e. such that the mode of each phase ends
up at 0 for F = 1). This is the most critical parameter and time-consuming part of
the modelling exercise. The interested reader may investigate (by editing the files
stmalo_stc_qfg.data and stmalo_stc_mrg.data) the effects of various melting
models on the composition of the liquids. It turns out that it is fairly difficult to
propose a series of stoichiometric coefficients that (i) are realistic with regard to
what we know about melting reactions, (ii) are internally consistent, and (iii) lead
to a decent fit between the model and the observations.
A model is set to answer a specific question. In this case it has been “can
progressive melting of QFG and MRG lithologies (with coefficients defined in
Table 26.1) account for the observed leucosome compositions?”. The answer is
“yes”.
270 26 Progressive Melting of a Metasedimentary Sequence …
●
●
●●
15 ● ● ●
●●●
3
● ●●●● ●
●
●
6
●
●
10
Al2O3
2
MgO
Fe2O3
●● ●
●●
●●
4
●
● ●●
●●
5
1
●● ●
2
●
●●
● ●
●
● ●● ● ●●●● ●
0
0
0
0 20 40 60 80 100 0 20 40 60 80 100 0 20 40 60 80 100
F (%) F (%) F (%)
●
1.5
● ●●
6
● ●● ● ● ●
● ●
4
● ● ●● ● ● ● ● ●● ●●
● ●● ●
● ● ●
5
● ● ● ●
● ●
●
● ●
1.0
Na2O
3
CaO
K2O
4
●● ●
● ●●●●
●
3
2
0.5
2
1
1
0
0
●
50 100 150 200
●● ●
● ●
● ●
● ●
● ●● ●
●●
● ●● ●
●●
Rb
Sr
Zr
600
●● ● ● ●
●
● ● ●
300
●
●● ●●
● ●● ● ●●●
● ●●●●
0
0
0
20 40 60 80 100
●
●
●
●
80
40
●
Cr
●
Ni
● ●
●● ●●●●
●
● ● ●●● ● ●
40
●
20
●● ● ●● ● ● ● ● ●● ●
●
●● ● ● ●
●
●
● ●●● ●● ● ●
0
26.3.3 Zircon
Again, Zr is the only element for which our model does not fit observations: we
modelled it as an incompatible element, whereas it shows a compatible behaviour
(Fig. 26.4). As shown in Exercise 22.1, several alternatives are available to deal
with this problem. Whereas a saturation-based approach would be more rigorous,
we add here, for simplicity, a small proportion of zircon to the restite with a set KD
of 3800.
The only difference from Chap. 25 is that in here, mode.mrg and mode.qfg do not
store the mineral proportions in the cumulate (m), but in the whole system. There-
fore we must recalculate the whole-system value corresponding to the desired m,
by multiplying by 1–F. We can then re-run the function fwd.mod to get the new
CL. All of this occurs in a function melts.with.zrn that requires arguments
c0.lab (name of the composition to use for C0), litho.mode (the matrix that con-
tains the successive modes during melting) and m.zrn (the amount of zircon
added, in wt. %). We must first change the list of minerals in the system ( mins2),
before defining the function:
GCDkit-> mins2 <- c(mins,"Zrn")
GCDkit-> melts.with.zrn <- function(c0.lab,litho.mode,m.zrn){
GCDkit-> Zrn <- m.zrn*(100-litho.mode[,"Melt"])/100
GCDkit-> corrected.mode <- cbind(litho.mode,Zrn)
GCDkit-> corrected.melt <- apply(corrected.mode,1,function(z){
GCDkit-> m <- z[mins2]/(100-z["Melt"])
GCDkit-> ff <- z["Melt"]/100
GCDkit-> ee <- fwd.mod(c0.lab,m,ff,eqn="PM")$cL
GCDkit-> return(ee)
GCDkit-> })
GCDkit-> corrected.melt <- t(corrected.melt)
GCDkit-> return(corrected.melt)
GCDkit-> }
To further refine our model, we compare the evolution for several zircon amounts:
GCDkit-> zr.props <- c(0.01,0.02,0.05,0.1,0.5,1)
And for each of those, we apply the function we just defined; for instance for
composition MRG we calculate a matrix zr.mrg that contains the Zr contents of
the melts as a function of F and the amount of zircon:
GCDkit-> zr.mrg<-sapply(zr.props,function(i){
GCDkit-> z <- melts.with.zrn("MRG",mode.mrg,i)
GCDkit-> return(z[,"Zr"])
GCDkit-> })
GCDkit-> colnames(zr.mrg) <- zr.props
272 26 Progressive Melting of a Metasedimentary Sequence …
400
400
Zrn prop. = 0.01 wt. % Zrn prop. = 0.02 wt. % Zrn prop. = 0.05 wt. %
300
300
300
Zr
Zr
Zr
200
200
200
●
● ●
● ●
●
● ● ●
● ● ●
● ● ● ● ● ●
●● ●● ●●
100
100
100
●● ● ● ●● ● ● ●● ● ●
● ●● ● ● ● ●● ● ● ● ●● ● ●
0
400
400
Zrn prop. = 0.1 wt. % Zrn prop. = 0.5 wt. % Zrn prop. = 1 wt. %
300
300
300
Zr
Zr
Zr
200
200
200
●
● ●
● ●
●
● ● ●
● ● ●
● ●●● ● ●●● ● ●●●
100
100
100
●●
● ● ● ●●
● ● ● ●●
● ● ●
● ●● ● ● ●● ● ● ●● ●
0
Fig. 26.7 Evolution of Zr concentrations in the melt, taking into account the role of zircon, for
various values of m Zrn. Values of about 0.05 to 0.1 wt. % give the best fits.
As expected, Fig. 26.7 shows that the simple expedient of adding a small amount
of zircon (0.05 to 0.1 wt. %) to the restite is sufficient to alter the model so that it
does fit the observed compositions.
26.3 Geochemical Modelling 273
wt. %
wt. %
wt. %
20
10
0
wt. %
wt. %
wt. %
10
2
5
1
0
0
2
Specifically the mineral models used are Bio(TCC), Opx(HP), Mica(CHA1), hCrd, feldspar,
Gt(WPH), Ilm(WPH) and melt(HP) using PERPLE_X 6.6.8 and June 2013 datafiles.
274 26 Progressive Melting of a Metasedimentary Sequence …
●
●
●●
15 ● ● ●
●●●
3
● ●●●● ●
●
●
6
●
●
10
Al2O3
2
MgO
Fe2O3
●● ●
●●
●●
4
●
● ●●
●●
5
1
●● ●
2
●
●●
● ●
●
● ●● ● ●●●● ●
0
0
0
0 20 40 60 80 100 0 20 40 60 80 100 0 20 40 60 80 100
F (%) F (%) F (%)
1.5
● ● ●●
6
● ●● ● ● ●
● ●
4
● ● ●● ● ● ● ● ●● ●●
● ●● ●
●
5
● ● ● ●
● ● ● ● ●
● ●
1.0
Na2O
3
CaO
K2O
4
●● ●
● ●●●●
●
3
2
0.5
2
1
1
0
0
900 1200
F (%) F (%) F (%)
50 100 150 200
●
●● ●
●
● ●
● ●
●
● ●● ●
●●
Rb
Sr
Zr
600
● ● ● ●
● ● ●● ● ●●
● ●● ● ●
● ●
300
●
●● ●●
● ●● ● ●●●
● ●●●●
0
20 40 60 80 100
●
●
●
●
80
40
●
Cr
Ni
●
V
● ●
●● ●●●●
●
40
● ● ●●● ● ● ●
20
●● ● ●● ● ● ● ● ●● ●
●●● ● ● ●
●
●
● ●●● ●● ● ●
0
References
Brown M (1979) The petrogenesis of the St. Malo migmatite belt, Armorican Massif, France,
with particular reference to the diatexites. Neu Jb Mineral, Abh 135:48–74
Brun J-P, Balé P (1990) Cadomian tectonics in Northern Brittany. In: D’Lemos RS, Strachan
RA, Topley CG (eds) The Cadomian Orogeny. Geological Society of London Special
Publications, vol 55, pp 95–114
Brun JP, Martin H (1977) Relations métamorphisme-déformation au cours de l’évolution dynam-
ique d’un dôme migmatitique: le Massif de Saint-Malo (France). Bull Soc Géol France
20:91–101
Clemens JC, Vielzeuf D (1987) Constraints on melting and magma production in the crust. Earth
Planet Sci Lett 86:287–306
Connolly JAD (2005) Computation of phase equilibria by linear programming: a tool for geody-
namic modeling and its application to subduction zone decarbonation. Earth Planet Sci Lett
236:524–541
Holland TJB, Powell R (2011) An improved and extended internally consistent thermodynamic
dataset for phases of petrological interest, involving a new equation of state for solids.
J Metamorph Geol 29:333–383
Martin H (1977) Contribution à l’étude de l’anatexie: le Massif de Saint-Malo (Massif armoric-
ain). Mobilisation des éléments durant la fusion. Proposition d’un modèle. Unpublished PhD
thesis, Université de Rennes I, Rennes
Martin H (1979) Geochemical behaviour of major and trace elements during incongruent melting
of biotite in the Saint-Malo migmatites. Neu Jb Mineral, Mh 509–524
Martin H (1980) Comportement de quelques éléments en traces au cours de l’anatexie: exemple
du Massif de Saint-Malo (Bretagne, France). Can J Earth Sci 17:927–941
Nicoli G, Stevens G, Moyen J-F, Taylor J (2013) Leucosome formation by disequilibrium melt-
ing and melt loss: perspectives from the South Marginal Zone (SMZ) of the Limpopo Belt,
South Africa. Mineral Mag 77:1846
Peucat J-J (1986) Behavior of Rb–Sr whole rock and U–Pb zircon systems during partial melting
as shown in migmatitic gneisses from the St-Malo Massif, N.E. Brittany, France. J Geol Soc
London 143:875–886
Peucat J-J, Martin H (1985) Are Rb–Sr thin slab migmatite ages meaningful? Neu Jb Mineral,
Abh 152:1–21
Powell R, Holland TJB (1988) An internally consistent thermodynamic dataset with uncertain-
ties and correlations: 3. Applications to geobarometry, worked examples and a computer pro-
gram. J Metamorph Geol 6:173–204
Stevens G, Clemens J (1993) Fluid-absent melting and the roles of fluids in the lithosphere:
a slanted summary? Chem Geol 108:1–17
Taylor J, Nicoli G, Stevens G, Frei D, Moyen JF (2014) The processes that control leucosome
compositions in metasedimentary granulites: perspectives from the Southern Marginal Zone
migmatites, Limpopo Belt, South Africa. J Metamorph Geol 32:713–742
Weber C, Barbey P, Cuney M, Martin H (1985) Trace element behaviour during migmatization.
Evidence for a complex melt–residuum fluid interaction in the St-Malo migmatitic dome
(France). Contrib Mineral Petrol 90:52–62
White RW, Powell R, Holland TJB (2001) Calculation of partial melting equilibria in the sys-
tem CaO–Na2O–K2O–FeO–MgO–Al2O3–SiO2–H2O (CNKFMASH). J Metamorph Geol
19:139–153
White RW, Powell R, Holland T (2007) Progress relating to calculation of partial melting equilibria
for metapelites. J Metamorph Geol 25:511–527
Appendix A
R Syntax in a Nutshell
Here we give an overview of the syntax and basic usage of the R language. We
describe how to start and stop an R session, obtain help and find documentation.
An account of the main object types and their manipulation in direct (i.e. com-
mand line) mode is followed by text on arguably the strongest point—graphics.
The Appendix is closed by a section on writing true R programs (batch mode).
The text is partly based on the pdf file ‘An Introduction to R’, available from the
Help menu.
This text does not intend to be a replacement for a proper R course. Apart from
the help system and pdf manuals included with the R distribution, the reader can
find additional information in an increasing number of books and web sites.
Importantly, information concerning the current state of the R project, binaries,
source codes and documentation are obtainable from the dedicated website
(www.r-project.org) and the Comprehensive R Archive Network (CRAN, cran.r-
project.org). CRAN, which is mirrored at many servers worldwide, also provides
a distribution channel for user-contributed packages that add new functionality to
the core of the R system.
Chapter 1
Direct Mode
In Windows, double clicking the file RGUI.EXE or the associated shortcut opens
the“R Console”, a text window for the entry of commands and display of textual
output (Fig. A1.1). The system prints a number of messages, the most important of
which is the last line with a prompt, showing that the R environment is awaiting
commands. Apart from the R Console, one or more windows for graphical output
and help pages may be displayed.
To end an R session, one can invoke the menu item File|Exit or type q(). Al-
ternatively, one can terminate the session by closing the R Console window.1
An HTML browsable help window can be obtained from the menu option Help|R
language (html) or by:
> help.start()
1Note that the system may ask you, upon closing, whether you want to save the current work-
space (i.e., memory image with all the variables). For beginners probably the best option is ‘No’,
ensuring that the R environment starts afresh the next time.
Appendix A R Syntax in a Nutshell 279
R is distributed together with PDF documents, which can be invoked from the
menu item Help|Manuals. There are several documents available, including ‘Writ-
ing R Extensions’, ‘R Data Import/Export’, ‘The R Language Definition’ and ‘R
Installation and Administration’. At this stage the most appropriate will be ‘An In-
troduction to R’ which outlines the basics of the R language.
Other good sources of information are the many books about R (e.g.,
Maindonald and Braun 2003; Murrell 2005; Crawley 2007; Chambers 2009; Adler
2012; van den Bogaard and Tolosana-Delgado 2013), or the related S language
(Becker et al. 1988; Chambers and Hastie 1992; Chambers 1998) as the two lan-
guages share most of their syntax. CRAN contains a list of published monographs
(www.r-project.org/doc/bib/R-books.html) as well as links to numerous contrib-
uted documents or manuals, both general and specific. The R Journal, an open-ac-
cess refereed journal, features short to medium length articles on various R appli-
cations, R programming and add-on packages. The community meets at annual
useR! conferences. Moreover, there exist e-mail discussion groups dedicated to
help users (R-help), to announce new versions and further progress in the R pro-
ject (R-announce, R-packages) and to facilitate communication among developers
(R-devel). Further information, including the archive of the e-mail discussion
groups, is available on CRAN.
Lastly, there exist numerous blogs dedicated to the R project, most of them ac-
cessible from the R-bloggers web page, www.r-bloggers.com. A useful starting
point to search for a topic is RSeek, www.rseek.org.
1.2.1 Commands
The R environment can be utilized in direct mode, typing commands straight into
the Console and getting an immediate response. Alternatively, the whole R code
can be prepared in advance as a plain text file and run at once in batch mode. The
commands (functions) in R are entered either individually, each on a single line,
or are separated by a semicolon (;). More complex statements consisting of several
lines of code are enclosed in braces {}. Each command is followed by brackets
with parameters (or empty, if none are required or default values are desired).
Typing just the command name returns a listing of the function’s definition.
Direct Mode
In the simplest case, commands are entered and the result displayed:
> (15+6)*3
[1] 63
Batch Mode
2 In fact the “=” also works as an assignment operator, however it is considered to degrade
the code readability. We prefer using the arrow notation throughout the book.
3 Assuming that the code resides in the current working directory; otherwise the full path needs
Note that in batch mode the content of a variable must be displayed using
the commands print or cat (this Appendix, Chap. 3.1). Unlike in direct
mode, typing the mere variable name does not suffice here.
> e <- 1.602
> print(e)
[1] 1.602
R stores data using a variety of object types including vectors, arrays, matrices
(two-dimensional arrays), factors, data frames, lists and functions (Table A1.1).
To display the current list of user objects, use the menu Misc|List objects or:
> ls()
Unnecessary objects can be removed with the function rm:
> rm(x,y,junk)
All user R objects can be deleted using the menu item Misc|Remove all objects.
Table A1.1 Overview of the most important object types in the R language
Can have
Object Characteristics Possible modes several
modes?
numeric, character,
Vector one-dimensional collection of elements No
complex, logical
each element is set to one of several discrete
Factor numeric, character No
values, or levels (a categorical variable)
numeric, character,
Array multidimensional collection of elements No
complex, logical
numeric, character,
Matrix two-dimensional array No
complex, logical
like a matrix but every column can be of a numeric, character,
Data frame Yes
different mode complex, logical
consists of an ordered collection of objects numeric, character,
List (components) that can be of various modes complex, logical, function, Yes
(recursive, i.e. list can itself consist of lists) expression, formula
fundamental piece of code, typically
Function dedicated to a single task, with defined input – –
parameters (arguments) and output values
282 Appendix A R Syntax in a Nutshell
All the objects are stored in memory, and not automatically saved to disc. When
quitting the R environment, you are given the opportunity to save the current
workspace, i.e. all the objects created during the given session. If you accept, they
are written to a file.RData in the current directory and reloaded automatically the
next time R is started. Different R sessions may therefore be maintained in separate
directories.
Every object possesses several properties, called attributes. The two most im-
portant of these are length and mode. Some object types, or in R jargon classes,
can have more modes. For the given object, the mode (logical, numeric, complex
or character) can be displayed using the namesake function:
> mode(10)
[1] "numeric"
1.3.1 Assignment
> x*2
[1] 20.8 11.2 6.2 12.8 43.4
> x*c(1,2)
[1] 10.4 11.2 3.1 12.8 21.74
1.3.3 Names
Each vector may have an attribute names (the lengths of the vector itself and its
names must be matching!). For instance:
> x <- c(3,15,27)
> names(x) <- c("Opx","Cpx","Pl")
> x
Opx Cpx Pl
3 15 27
Regular sequences with step 1 or -1 can be generated using the colon operator
(“:”). It has the highest priority within an expression, higher than the other opera-
tors (+-*/^).
> 1:9
[1] 1 2 3 4 5 6 7 8 9
> 9:1
[1] 9 8 7 6 5 4 3 2 1
> 1:9*2
[1] 2 4 6 8 10 12 14 16 18
> 1:(9*2)
[1] 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
rep(x, times)
Repeats the argument x specified a number of times:
> x <- c(3,9)
> rep(x,5)
[1] 3 9 3 9 3 9 3 9 3 9
4 NB that this is not a dot (scalar) product, but simply a result of an element-wise multiplication.
284 Appendix A R Syntax in a Nutshell
The R language contains a number of functions. Only those most important for
manipulation of numeric vectors are presented in Table A1.2. Information about
others and the whole range of available parameters can be found in the R docu-
mentation.
Function Explanation
abs(x) absolute value
sqrt(x) square root
log(x) natural logarithm
log10(x) common (base 10) logarithm
log(x,base) logarithm of the given base
exp(x) exponential function
sin(x)
cos(x) trigonometric functions
tan(x)
min(x) minimum
max(x) maximum
which.min(x) index of the minimal element of a vector
which.max(x) index of the maximal element of a vector
range(x) range of elements in x; equals to c(min(x),max(x))
length(x) number of elements (= length) of a vector
rev(x) reverses the order of elements in a vector
sort(x) sorts elements of a vector (ascending)
rev(sort(x)) sorts elements of a vector (descending)
round(x,n) rounds elements of a vector to n decimal places
sum(x) sum of the elements of a vector
mean(x) mean of the elements of a vector
prod(x) product of the elements of a vector
Character vectors are collections of text strings, i.e. sequences of characters delim-
ited by the double quote symbol, e.g., "granite". They use \ – backslash as the
escape sequence for special characters, including “\t” – tab and “\n” – new line.
Appendix A R Syntax in a Nutshell 285
paste(x, y, …, sep="")
Merges two (or more) character vectors, one by one, the elements being separated
by string sep:
> paste("Gabbro","olivine and","pyroxene",sep=" with ")
[1] "Gabbro with olivine and with pyroxene"
strsplit(x, split)
Splits the strings in x into substrings based on the presence of split. Returns a list
(see this Appendix, Chapter 1.8):
> x <- c("Plagioclase","K-feldspar")
> strsplit(x,"a")
[[1]]
[1] "Pl" "giocl" "se"
[[2]]
[1] "K-feldsp" "r"
Logical vectors consist of elements that can attain only two logical values:
TRUE or FALSE. These can be abbreviated as T and F, respectively.
The logical vectors are typically produced by comparisons using operators <
(smaller than) <= (smaller or equal to) > (greater than) >= (greater or equal to) ==
(equals to) != (does not equal to). For instance:
> x <- c(1,12,15,16,13,0)
> x > 13
[1] FALSE FALSE TRUE TRUE FALSE FALSE
286 Appendix A R Syntax in a Nutshell
Boolean arithmetic combines two or more logical conditions using the logical op-
erators: and(&), or(|), not(!)with or without brackets:
> x <- c(1,12,15,16,13,0)
> c1 <- x>10
> c2 <- x<15
> c1
[1] FALSE TRUE TRUE TRUE TRUE FALSE
> c2
[1] TRUE TRUE FALSE FALSE TRUE TRUE
> c1 & c2 # logical "and"
[1] FALSE TRUE FALSE FALSE TRUE FALSE
> c1 | c2 # logical "or"
[1] TRUE TRUE TRUE TRUE TRUE TRUE
> !c1 # negation
[1] TRUE FALSE FALSE FALSE FALSE TRUE
Within R, missing data are represented by a special value NA (not available). Some
operations which give no meaningful result in the circumstances will return its spe-
cial form, NaN (not a number):
> sqrt(-15)
[1] NaN
is.na(x)
Tests for the presence of missing values in each of the elements of the vector x:
> x <- c(5,9,-4,12,-6,-7)
> is.na(sqrt(x))
[1] FALSE FALSE TRUE FALSE TRUE TRUE
Several kinds of table-like objects exist in R. Data frames are data objects to be
processed by statistics, with “observations” as columns (elements/oxides in geo-
Appendix A R Syntax in a Nutshell 287
chemistry) and “cases” (samples) in rows. They can contain columns of any mode,
even mixed modes; thus they are not intended for matrix operations.
For such purpose, matrices should be used. All elements of a matrix can only
be of a single mode (numeric, most commonly). Arrays are generalized matrices:
they must have a single mode but can have any number of dimensions. Although
superficially similar, these three types of objects must not be confused.
Depending on the exact content of the file, many file reading operations
(such as read.table) would generate a data frame: it is the user’s respon-
sibility to convert it to a matrix if it is to be used later for calculations.
The default behaviour for filling a matrix with data—as well as matrix di-
vision by a vector—proceeds along columns, not rows!
Matrices can be subject to scalar operations using the common operators ( +-*/^).
Similar to vectors, the shorter component is recycled as appropriate. Useful func-
tions for matrix/data frame manipulations are summarized in Table A1.3.
288 Appendix A R Syntax in a Nutshell
Function Explanation
nrow(x) number of rows
ncol(x) number of columns
rownames(x) row names
colnames(x) column names
binds two objects (matrices or data frames) of the same ncol
rbind(x,y)
(or vectors of the same length) as rows
binds two objects (matrices or data frames) of the same nrow
cbind(x,y)
(or vectors of the same length) as columns
t(x) transposition
applies function FUN (for vector manipulations) along the rows
apply(X,MARGIN,FUN)
(MARGIN = 1) or columns (MARGIN = 2) of a data matrix X
x%*%y matrix multiplication (does not work on data frame!)
solve(A) matrix inversion (see Appendix C)
dix(x) diagonal elements of a matrix
It is worth noting that matrix multiplication is performed using the %*% operator.
Of the functions presented in the table, some explanation is required for apply:
apply(X, MARGIN, FUN, …)
If X is a matrix, it is split into vectors along rows (if MARGIN = 1) or columns (if
MARGIN = 2). To each of these vectors is applied the function FUN with optional
parameters ... passed to it.
For instance, we can calculate row sums of a matrix:
> x <- matrix(1:12,3,4,byrow=TRUE)
> apply(x,1,sum)
[1] 10 26 42
In real life, one often needs to select some elements of a vector or a matrix, fulfill-
ing certain criteria. This data selection functionality can be achieved using logical
conditions or logical variables placed in square brackets after the defined object
name. Subsets can be also used on the left hand side of the assignments when re-
placement of selected elements by certain values is desired.
Appendix A R Syntax in a Nutshell 289
1.7.1 Vectors
Index vectors can be of several types: logical, numeric (with positive or negative
values), and character:
1. Logical vector
> x[x>10] # all elements of x higher than 10 (or NA)
Bt Mu <NA> Kfs Ky <NA> <NA>
12 15 NA 16 13 NA NA
> x[!is.na(x)] # all elements of x that are available
Pl Bt Mu Kfs Ky Ol
1 12 15 16 13 0
Moreover, matrices can be manipulated using index arrays. This concept is best
explained on an example. Let’s assume a matrix defined as:
> x <- matrix(1:20,4,5)
If the elements [1,3], [2,2] and [3,1] in x are to be replaced by zeroes, create
an index array i containing the elements’ coordinates:
> i <- matrix(c(1,2,3,3,2,1),3,2)
> i
[,1] [,2]
[1,] 1 3
[2,] 2 2
[3,] 3 1
> x[i]
[1] 9 6 3
> x[i] <- 0
> x
[,1] [,2] [,3] [,4] [,5]
[1,] 1 5 0 13 17
[2,] 2 0 10 14 18
[3,] 0 7 11 15 19
[4,] 4 8 12 16 20
1.8 Lists
Lists are ordered collections of other objects, known as components, which do not
have to be of the same mode or type. Thus lists can be viewed as very loose
groupings of R objects, involving various types of vectors, data frames, arrays,
functions and even other lists. Components are numbered and hence can be
addressed using their sequence number given in double square brackets, x[[3]].
Moreover, components may be named and referenced using an expression of the
form list_name$component_name. Subsetting is similar to that of other ob-
jects, described above.
list.name < - list(component_name_1=, component_name_2=…)
Builds a list with the given components.
Appendix A R Syntax in a Nutshell 291
1.10 Factors
Factors are vector objects used for discrete classification (grouping) of compo-
nents in other vectors of the same length, matrices or data frames. In statistical ap-
plications, these often serve as categorical variables.
factor(x)
The (unordered) factors are set by the function factor where x is a vector of
data, usually containing a small number of discrete values (known as levels). In
this case the levels are stored in alphabetical order. For instance:
> x <- c("Pl","Bt","Pl","Pl","Kfs","Pl","Bt","Pl",NA)
> factor(x)
[1] Pl Bt Pl Pl Kfs Pl Bt Pl <NA>
Levels: Bt Kfs Pl
ordered(x, levels)
This function defines a special type of factor in which the order of levels is speci-
fied explicitly using the namesake parameter. Following the previous example:
> ordered(x,c("Pl","Kfs","Bt"))
[1] Pl Bt Pl Pl Kfs Pl Bt Pl <NA>
Levels: Pl < Kfs < Bt
levels(x)
Returns all possible values (levels) of the factor x.
table(…)
This function counts the number of occurrences of the given level within the fac-
tor. A pair of factors defines a two-way cross-classification (a frequency-
contingency table) (Part I, Exercise 2.8).
Examples of using factors to deal with complex geochemical datasets are given in
Part I, exercises 2.5 and 2.6, the relevant syntax is presented here.
tapply(x, INDEX, FUN, …)
The components of the vector x are split into several (non-empty) groups of val-
ues, based on levels of the factor INDEX (or list of two factors) of the same length.
Then a function FUN is applied to each of the groups, optionally with further argu-
ments (...) passed to it. The vector and the factor used for grouping collectively
form a so-called ragged array, since the group sizes are typically variable.
aggregate(x, by, FUN, …)
Applies function FUN to each of the variables (columns) of a numeric matrix or
data frame x respecting grouping given by factor (or list of factors) by. Each of
the variables in x is split into subsets (rows) of identical combinations of the com-
ponents of by, and FUN is applied to each such a subset. Again, further arguments
can be passed to FUN, as desired, via the ... argument.
by(data, INDICES, FUN, …)
A data frame data is split by rows into data frames subset by the values of
INDICES (a factor or list of factors). The function FUN is applied to each such
subset (data frame) with further arguments in ... passed to it. In fact the function
by is an object-oriented wrapper for tapply designed to deal with data frames.
The tools for data handling and editing available in R are fairly limited and thus it
is a good idea to prepare them beforehand in a dedicated application, such as a
spreadsheet or database program.
294 Appendix A R Syntax in a Nutshell
Unless the full path is specified, the file is searched for in the current
working directory. The directory can be queried with the getwd() command
and set with the setwd(dir) function or the menu option File|Change dir...
In order to read a text file in which the lengths of rows are all the same, but
column names are present, one can employ header=TRUE,row.names = 1).
Parameter na.strings specifies text strings to be interpreted as missing val-
ues, e.g., na.strings=c("b.d.","-","NA").
readClipboard()
In its simplest form, this function reads the text from the Windows clipboard.
Appendix A R Syntax in a Nutshell 295
R and its packages contain numerous sample datasets that can be attached to the
current session using the function data(…). For instance:
> data(islands)
Then documentation is available using the help command:
> ?islands
write.table(x, file = "", append = FALSE, sep = " ",na = "NA", dec = ".",
row.names = TRUE, col.names = TRUE)
This function writes an object x (a matrix, a data frame, or an object that can be
converted to such) to the specified file, separating the individual items by sep.
As for read.table, one can specify the strings representing the missing values
and the decimal point. Moreover, there are logical parameters determining wheth-
er row and/or column names are to be stored (row.names,col.names) and
whether to append the data without erasing those possibly already present.
writeClipboard(str)
Writes the text specified by the character vector str to the Windows clipboard.
Chapter 2
Graphics
A key benefit of using R is the large range of functions for the production and ex-
port of (near) publication-quality diagrams. They can be divided into two types;
high-level functions that open a new graphical window and set up a coordinate
system of the brand new graph (Table A1.4) and low-level functions that annotate
pre-existing plots (Table A1.5). Note also that some of the functions (e.g., curve)
can show both types of behaviour depending on the given arguments.
plot()
This is a key plotting function. For two numeric vectors, it produces a binary plot
[plot(x,y)]. If one vector is shorter, it is recycled as appropriate.
296 Appendix A R Syntax in a Nutshell
Function Purpose
plot(x,y) binary plot x vs. y (two numeric vectors)
curve specified by expr (written as a function of x)
curve(expr,from,to)
in the interval from–to
contour(x,y,z) contour plot (x and y specify a regular grid, z the values)
filled.contour(x,y,z)filled contour plot (x and y specify a regular grid, z the values)
boxplot(x) “box-and-whiskers” plot
conditioning plot; if formula = y~x|z,
coplot(formula)
bivariate plots of x vs. y for each level of the factor z
matrix of all possible bivariate plots between columns of
pairs(x)
x (matrix or data frame)
hist(x) histogram of frequencies for x
pie(x) circular pie-chart
When calling the function plot, and indeed many other graphical functions, a
number of additional parameters can be specified to modify the appearance of the
plot. Some are fairly universal (e.g., col or pch), but others are restricted or may
behave unexpectedly. An overview of the most commonly used graphical parame-
ters is given in Table A1.6. If in doubt, the manual page of the particular plotting
function should be consulted. Colours may be arranged into collections called pal-
ettes. The codes for available plotting symbols, standard colours and preview of
palettes are in Fig. A1.2.
palette(value)
This function serves to view or manipulate a colour palette. Optional parameter
value is the name of palette predefined in standard R. For instance:
> ee <- palette(heat.colors(5))
> ee
[1] "red" "#FF5500" "#FFAA00" "yellow" "#FFFF80"
0 1 2 3 4 5 6 7 8 9
standard
1 6 11 16 cm.colors
heat.colors
terrain.colors
2 7 12 17
topo.colors
rainbow
3 8 13 18 grays
reds
blues
4 9 14 19
greens
cyans
5 10 15 20 violets
yellows
jet.colors
Fig. A1.2 Plotting symbols and colours available through the parameters pch and col (the first
row, labelled ‘standard’)5 as well as some examples of palettes built-in plain R (black names) and
GCDkit (brown names).
lm(formula)
A function for fitting linear models. The simplest form of formula is “y~x”, i.e. y
as a function of x, performing a linear regression. To see details of the resulting
object use the function summary. Note that abline has a method for plotting thus
generated linear fits.
text(x, y, labels)
This low-level function displays the given text at coordinates [x,y]. It is espe-
cially useful to label individual data points of the binary diagrams (in combination
with the pos parameter). For example, using data from the calc-alkaline Sázava
suite of the Variscan Central Bohemian Plutonic Complex (Janoušek et al. 2004):
sazava.data
> sazava<- read.table("sazava.data",sep="\t")
> plot(sazava[,"SiO2"],sazava[,"Ba"],xlab=expression(SiO[2]),
+ cex=1.5,ylab="Ba",pch=16,main="Sazava",xlim=c(45,75))
> abline(h=seq(0,1500,500),lty="dotted",col="gray")
> abline(v=seq(40,80,10),lty="dotted",col="gray")
> text(sazava[,"SiO2"],sazava[,"Ba"],rownames(sazava),pos=4,
+ col="red")
"yellow" and "white". Function colors() displays all the symbolic names available (657
of them!).
300 Appendix A R Syntax in a Nutshell
We can also produce a linear fit, and assign the result to an arbitrary variable ee:
> ee <- lm(sazava[,"Ba"]~sazava[,"SiO2"])
> ee
Call:
lm(formula = sazava[, "Ba"] ~ sazava[, "SiO2"])
Coefficients:
(Intercept) sazava[, "SiO2"]
-1680.45 43.67
and the object ee is ready to be plotted by the function abline (Fig. A1.3):
> abline(ee,lwd=2,lty="dashed",col="blue")
If we want to know the details, we can display the whole list ee using:
> summary(ee)
[Output intentionally omitted]
Sázava
Po−5
1400
Po−3
Po−4
800 1000
SaD−1 Sa−1Po−1
Ba
Gbs−3
Sa−7
600
Gbs−1 Sa−2
400
Sa−4
Gbs−2
200
45 50 55 60 65 70 75
SiO2
Fig. A1.3 Binary plot SiO2 (wt. %) vs. Ba (ppm) for the Sázava suite of the CBPC. Linear fit was
plotted by abline, as were the grid lines.
grid(nx, ny)
A convenience function creating better-looking grids with spacing nx and ny in
the x and y axis directions.
curve(expr, from = NULL, to = NULL, add = FALSE)
A function for adding a curve (if add=TRUE) specified by an expression (expr;
written as a function of x). Optionally, the range of the x axis can be also set, us-
ing the parameters from and to. For example:
Appendix A R Syntax in a Nutshell 301
sazava.data
> sazava <- read.table("sazava.data",sep="\t")
> plot(sazava[,"Rb"],sazava[,"Sr"],xlab="Rb (ppm)",
+ ylab="Sr (ppm)",pch=sazava[,"Symbol"],cex=2,
+ xlim=c(0,70),ylim=c(0,650),xaxs="i",yaxs="i")
> abline(0,5,col="red",lwd=1.5,lty="dashed")
> curve(x^2,add=TRUE,col="blue",lwd=1.5,lty="dotted",
+ from=0,to=25)
600
500
400
Sr (ppm)
300
200
100
0
0 10 20 30 40 50 60 70
Rb (ppm)
Fig. A1.4 Binary plot Rb (ppm) vs. Sr (ppm) for the Sázava suite. The red trend is linear, created
by abline, while the blue one is parabolic, drawn by curve.
Here we show examples of the most useful of the other high-level functions for
plotting boxplots, correlation matrices, histograms and such alike (Table A1.4).
boxplot(x)
Creates a “box-and-whiskers” plot, i.e. a diagram, in which each variable (column
of a data frame/matrix x) is represented by a rectangle (its horizontal sides corre-
spond to the 1st and 3rd quartiles a horizontal line denotes a median). Two vertical
lines join extremes (minimum and maximum); outliers6 are plotted as tiny circles.
sazava.data
> sazava <- read.table("sazava.data",sep="\t")
> oxides <- c("MgO","CaO","Na2O","K2O")
> boxplot(sazava[,oxides],col=c("khaki","gray","red","blue"))
14
10
8
6
4
2
0
summary(x)
Information similar to boxplot but in textual form gives:
> summary(sazava[,oxides])
MgO CaO Na2O
Min. :0.520 Min. : 3.670 Min. :1.670
1st Qu.:2.033 1st Qu.: 6.718 1st Qu.:2.525
Median :3.365 Median : 7.835 Median :2.795 …
pairs(x)
A scatterplot matrix for all possible combinations of columns in matrix x:
> pairs(sazava[,oxides],pch=15,col="darkred")
8
6
MgO
4
2
12
CaO
4 6 8
3.0
Na2O
2.0
1.0 1.5 2.0 2.5
K2O
2 4 6 8 2.0 3.0
Fig. A1.6 Correlation plots obtained by pairs for selected oxides from the Sázava suite.
hist(x)
Produces a histogram of frequencies of the vector x:
> hist(sazava[,"Sr"],xlab="Sr",ylab="frequency",
+ xlim=c(100,700),col="darkred",density=5,angle=45)
> box()
4
3
frequency
2
1
0
coplot(y~x|z)
Conditioning plot; in this form it displays a set of bivariate plots of x vs.y for each
level of the factor z.
> coplot(sazava[,"CaO"]~sazava[,"SiO2"]|sazava[,"Intrusion"],
+ cex=1.5,xlab=expression(SiO[2]),ylab="CaO",
+ pch=sazava[,"Symbol"],col=sazava[,"Colour"])
Sazava
Pozary
basic
50 55 60 65 70
14
10
8
6
4
CaO
14
10
8
6
4
50 55 60 65 70
SiO2
Fig. A1.8 Coplot showing SiO2–CaO variations in individual rock types within the Sázava suite.
7 NB that the data must be prepared in a regular grid and that the function does not perform any
interpolation such as kriging. In this form, both coordinates are normalized from 0 to 1. The real
ones can be provided by the optional arguments x and y.
Appendix A R Syntax in a Nutshell 305
1.0
a 110 b
100
1.0
180
0.8
110
0.8
160
170
130
0.6
0.6
190
160
140
0
0.4
18
0
0.4
17
180 160
150 120
140
0.2
100
0.2
120
0.0 100
110
0
110
10
0.0
0.0 0.2 0.4 0.6 0.8 1.0 0.0 0.2 0.4 0.6 0.8 1.0
Fig. A1.9 Contour plots for the Maunga Whau volcano, New Zealand, plotted using contour (a)
and filled.contour (b) f unctions.
To gain more control of the plotting window, use the graphical parameters func-
tion par to create multi figure plots and the axis function to fine-tune style and
placement of axes.
par(mfrow = c(nrow, ncol))
par(mfcol = c(nrow, ncol))
Create multi figure layouts by splitting the graphical window into a matrix of nrow
× ncol plotting regions to be sequentially filled by plotted graphs (row wise—
mfrow or column wise—mfcol).
Arbitrary sized plotting regions can be configured using the fig option to par.
axis (side, at, labels)
The plot function can be called with a parameter axes=FALSE such that no axes
are drawn. This is a prelude to the command axis, to define a custom layout. The
arguments side = 1 for bottom (x), 2 left (y), 3 top, 4 right; at – a vector with
values to be labelled; labels – character vector with the text labels. For example:
> plot(1,1,xlim=c(0,3),ylim=c(-1,1),axes=FALSE,
+ xlab="custom X",ylab="custom Y",type="n")
> axis(1,0:3,c("A","B","C","D"))
> axis(2,-1:1,c("I","II","III"))
> box()
306 Appendix A R Syntax in a Nutshell
III
custom Y
II
I
A B C D
custom X
Fig. A1.10 Custom axes created and annotated using the function axis.
Expression Meaning
TiO[2] TiO2
FeO^T FeOT
Al[2]*O[3] Al2O3
epsilon[Nd] HNd
30*degree 30°
parse(text = NULL)
A function that returns a parsed, but unevaluated expression. The most common
use—in conjunction with the function as.expression—is to convert character
string(s) with mathematical annotations to expressions ready for plotting.
> x <- "SiO[2]"
Appendix A R Syntax in a Nutshell 307
> parse(text=as.expression(x))
expression(SiO[2])
substitute(expr)
This function returns the unevaluated expression expr, substituting any variables
therein by their values. For instance:
> sazava <- read.table("sazava.data",sep="\t")
> sr.mean <- mean(sazava[,"Sr"],na.rm=TRUE)
> text(1,0,as.expression(substitute(italic(bar(x)[Sr])==m,
+ list(m=sr.mean))))
results in: x Sr 443
dev.off()
Close the current graphical window.
graphics.off()
Close all the opened graphical windows.
The ability to interact with graphics makes it possible, for instance, to select outli-
ers and label them with sample names. Or one can pick samples for further pro-
cessing, such as setting end members for numerical modelling. Clearly these func-
tions are only useful for interactive plotting devices.
Appendix A R Syntax in a Nutshell 309
locator()
The locator returns the coordinates of one or more points clicked on by the left
mouse button. Identification is stopped by pressing the right mouse button and se-
lecting Stop.
identify(x, y, labels)
This function annotates the plot with labels for each given [x,y] coordinate.
Usually only useful when there are a small number of data points.
Chapter 3
Programming in R
This chapter deals with preparing R scripts to be run in batch mode. We shall learn
to control the output to the screen and input from the keyboard, to build condition-
al statements and loops as well as to program simple user-defined functions.
print(x)
Prints the contents of an object x, nicely formatted.
cat(…, file="", sep="")
This function displays the contents of one or more R objects in a less sophisticated
way, but enabling much more control over the output format 8:
readline(prompt)
Displays the prompt and then reads input from the keyboard:
> x <- readline("Enter x:\n")
Enter x:
> 5.8
> x
[1] "5.8"
This example shows that keyboard input is always in the form of a character vec-
tor of length 1. If required it has to be coerced to a numeric value using the func-
tion as.numeric:
> x <- as.numeric(x)
> x
[1] 5.8
8Note that this function does not append a newline character that must be added explicitly to the
output string as "\n".
310 Appendix A R Syntax in a Nutshell
> x <- 6
> y <- 0.5
> if(x>2 & y<1){
> print(x)
> print(y)
> }else{
> cat("Warning, x<=2 or y>=1!\n")
>}
3.3 Loops
Sometimes it is useful to run some chunk of code repetitively in a loop. Due to the
powerful indexing in R, loops are needed considerably less often than in any con-
ventional programming language. They can be built using the statement:
for(variable in expression1) expression2
expression2 is a chunk of R code, usually grouped in braces to be executed once
for each of the values of the control variable. The range of possible values for
the variable is specified by a vector, expression1. See the example, which
calculates and prints the square roots of the sequence of numbers 1, 3, 5, 7, and 9:
while(condition) expression
In this case, expression will be executed as long as the condition remains valid
(i.e. is TRUE).
repeat expression
This command is used in conjunction with a break statement (this is not a func-
tion and thus no brackets are required). In fact, the break statement can be used to
terminate any loop, if necessary. The next statement can be invoked to discontin-
ue one particular cycle and skip to the next one.
User-defined functions provide a stylish way of extending the set of the available
commands. In fact, much of R itself is written in R! The function definition
looks like:
function.name <– function (argument1, argument2, …) expression
The expression is a chunk of R code, usually grouped in braces. In order to
avoid confusion, the last statement should be return(z), where z is an expres-
sion or variable name giving the value(s) to be returned by the function9.
For example, we can write a user-defined function calculating a geometric
mean, defined as the nth root of the product of n numbers, and use it on some data:
n
S n
x
i =1
i
There are two possibilities for providing arguments to an R function. First, you
can pass them in the order matching the function’s definition. The second is to
9 If more values need to be returned, they can be assembled into a list object.
312 Appendix A R Syntax in a Nutshell
And such a function then can be called in a number of ways 10, for instance:
> my.plot(x,y) #red crosses
> my.plot(x,y,"o") #red circles
> my.plot(x,y,colour="blue") #blue crosses
will not work as intended because the third parameter will be interpreted as pa-
rameter symb, i.e. a plotting character and a red ‘b’ will be plotted.
args(name)
Displays the arguments to an existing function specified by name, e.g.:
> args("my.plot")
function (x, y, pch = "+", col = "red")
Importantly, the variables used within a user-defined function (in the example of
the function calculating a geometric mean these were x and z) are local (in R jar-
gon, limited to the function’s “environment”). This means that any assignments
done within the function are temporary, being lost after the evaluation is done.
Therefore, such assignments do not affect the value of the variable with the same
name in the calling environment.
In (rare) cases when it is desirable to alter the value of a variable globally (in
the .GlobalEnv environment), this can be done with the “super assignment”:
> x <<- "Hello"
10Note that in R, most of the arguments to the functions have been given sensible defaults appro-
priate to most of the applications. Thus the ordinary user does not need to specify all of them, or
to even be aware of their existence.
Appendix A R Syntax in a Nutshell 313
Anonymous functions
A strategy, often employed in R, is to use an anonymous function.
So called, as it is not named and not visible outside the sapply statement:
> sapply(seq(1,10,by=2),function(i){
> z <- paste("Square root of ",i," is ",round(sqrt(i),6))
> return(z)
> })
References
Adler J (2012) R in a nutshell. O’Reily, Sebastopol
Becker RA, Chambers JM, Wilks AR (1988) The new S language. Chapman & Hall, London
Chambers JM (1998) Programming with data. Springer, New York
Chambers JM (2009) Software for data analysis: programming with R. Springer, Berlin
Chambers JM, Hastie TJ (1992) Statistical models in S. Chapman & Hall, London
Crawley MJ (2007) The R book. John Wiley & Sons, Chichester
Janoušek V, Braithwaite CJR, Bowes DR, Gerdes A (2004) Magma-mixing in the genesis of
Hercynian calc-alkaline granitoids: an integrated petrographic and geochemical study of the
Sázava intrusion, Central Bohemian Pluton, Czech Republic. Lithos 78:67–99
Maindonald J, Braun J (2003) Data analysis and graphics using R. Cambridge University Press,
Cambridge
Murrell P (2005) R graphics. Chapman & Hall/CRC, London
Murrell P, Ihaka R (2000) An approach to providing mathematical annotation in plots. J Comp
Graph Stat 9:582–599
van den Bogaard P, Tolosana-Delgado R (2013) Analyzing compositional data with R. Springer,
Berlin
Appendix B
Introduction to GCDkit
Chapter 1
First Steps with GCDkit
1.1 Installation
1 For installation without admin rights (with some limitations) see the download page.
When installed, GCDkit is started by double clicking its hammer & test-tube icon.
Fig. A2.1 Screenshot of principal parts of the GCDkit interface—R-Console with text input and
output, an opened menu and a graphical window with a plot.
As seen in Fig. A2.1, the program starts with a single window, R-Console. This
presents a standard command line interface, where the operator enters R com-
mands (in red), and the output result is displayed (in blue). If you type
print("Hello") or simply 1+1, you get the expected result. In the same way
any of innumerable R or GCDkit functions can be entered, as described in more de-
tail in Appendix A and in a number of online and printed resources.
Furthermore, there is a series of pull-down menus at the top of the R-Console.
The first six entries (from File to Help) refer to the R system and are almost of no
importance to us. The remaining belong to GCDkit itself, and are covered by this
Appendix. A further set of menu items is available on top of the graphical win-
dows and within right-click context menus. Invoking each menu entry triggers one
or more functions. This implies that GCDkit functionality is accessible both by
pull-down menus as well as from the text console. The former is more straight-
forward and intuitive; the latter is trickier but brings more flexibility and
power. Fig. A2.2 summarizes some basic operations in both interactive and text
mode.
Appendix B Introduction to GCDkit 317
Fig. A2.2 Suggestions of simple tasks to start with GCDkit; multiple other options and proce-
dures are available for more advanced users.
318 Appendix B Introduction to GCDkit
GCDkit is (apart from I/O functions) responding in two ways: textual informa-
tion is displayed in the Console, whereas plots pop-up in separate graphical win-
dows. The most recent plot (labelled ACTIVE) can be in most cases further edited
as described later. Any graphical window can be saved to a selected format or to
the clipboard (from context menu or GCDkit|Save all graphics to…). Also the text
output displayed on the Console can be saved using GCDkit|Save results.
Documentation is gathered in the help system available from the menu item
GCDkit|Help… In addition to its obvious purpose to assist in using the software, it
also briefly documents the geochemical background and provides appropriate ref-
erences. The help system opens in a web browser and, apart from documentation
for individual functions (mimicking the menu structure), it also contains several
*.pdf manuals. Documentation is also available in standard R ways, i.e. in the
system help or by typing a function name preceded by a question mark.
GCDkit is mutating. Menus, plots and tools available depend on the type
of loaded data. If some of the features described below are missing, it is
most likely because the appropriate data are absent.
Any session inevitably has to start by data preparation. The native data format is
based on a simple table with samples (cases) in rows and compounds (numerical
variables) with textual metadata (labels) in columns. The columns can be pre-
sented in arbitrary order. A unique name for each sample and compound should be
stored in the first column and row, respectively. In order to be properly handled by
the system, the major-element oxides and trace elements must be labelled solely
by their chemical formulae (SiO2, Sr etc.) and given in wt. % and ppm, respec-
tively.
Plotting colour, symbol and symbol size for each sample can be specified in
columns headed ‘Colour’, ‘Symbol’ and ‘Size’. Additional textual or numerical
information for each sample, such as locality, rock name, age, or isotopic compo-
sition may be stored in additional columns (Fig. A2.3). Further details are pro-
vided in the documentation (type ?loadData); example files are also available.
As seen from the explanation above, data are of two categories: numerical and
descriptive (textual). Both are treated differently. It is vital to understand how the
system recognizes the categories:
x Data in any column with correct oxide or element name (including variants for
total Fe, H2O+, Mg#...) are considered as numerical; any text therein is im-
ported as a missing value.
Appendix B Introduction to GCDkit 319
Some common formatting mistakes are highlighted in Fig. A2.4. There are no
doubt many more possibilities to spoil the input; this is a field of unlimited crea-
tivity.
In the following text and in GCDkit, Variable refers to the name of a col-
umn (and the data within it) recognized as numerical. Label is a term re-
served for names of the remaining descriptive columns.
There are several ways of introducing data into GCDkit. The basic one leads
through menu GCDkit|Load data file, which invokes a file selection dialogue to
find the desired *.data file (and other formats). However, more popular has
320 Appendix B Introduction to GCDkit
proved to be pasting via the Windows clipboard: just copy the pre-formatted data
from the spreadsheet programme (both Excel and OpenOffice family work), and
select from the menu GCDkit|Paste data from clipboard. If successful, the R-
Console displays the metadata summary, a listing of loaded plugins and a report of
data processing finished by the ‘…done!’ statement. If something goes wrong, the
problem is most probably in the data format.
In addition, GCDkit is able to read Excel (*.xls, *.xlsx) and Access files. It
can also import formats of other geochemical programs, such as MinPet, IgPet,
NewPet, or of online geochemical databases (GeoRoc, Navdat or PetDB).
There are two potentially dangerous dialogues during data loading, where a
wrong answer can harm the imported data:
Fig. A2.5 Dialogues controlling the fate of ‘below detection’ and negative values.
The first window (Fig. A2.5a) asks whether the values below the known detection
limit (such as ‘< 0.1’) should be replaced by its half (Sect. 2.1). Such replacement
can be legitimate if statistical treatment is desired. Otherwise the values should be
treated as missing (answer ‘No’).
The other question (Fig. A2.5b) concerns the meaning of negative values. An-
swering ‘Yes’ marks them as below detection limit and they are dealt with in ac-
Appendix B Introduction to GCDkit 321
cordance with the previous paragraph. If there are legitimate negative values in the
file (e.g. isotopic į values), the answer should be ‘No’.
GCDkit does not alter the original data file. The system creates its own
internal copy and any subsequent changes to the data (merging, subsetting,
adding variables etc.) should be saved manually.
Closely related are two helpful tools for data appending and merging, an arduous
job if done manually.
One dataset should already be loaded in both cases. The option GCDkit|Append
samples from file adds new samples to existing data, introducing columns and
empty values where necessary (Fig. A2.6a). If data overlap occurs (i.e. files con-
tain lines with identical sample names), both are preserved with modified names.
On the other hand, the option GCDkit|Append variables from file adds columns
with new data to existing samples. If any column appears in both merged files,
both are preserved with modified labels (Fig. A2.6b).
Fig. A2.6 Schema of merging two datasets: appending samples (a) and appending variables (b).
322 Appendix B Introduction to GCDkit
It is not always desirable to work with the whole dataset. GCDkit has several tools
for this purpose.
1) In order to explore thoroughly part of the original dataset, one can use Data
handling|Select subset by… to make a subset of the original dataset. The subset is
available as the ‘main’ dataset from now on, until Select whole data set in the
Data handling|Select subset by… menu is clicked, restoring the original data.
2) When specifying input data for a new plot or calculation, only a temporary
selection is made. The selection criteria are ‘forgotten’ once the procedure (plot-
ting, calculation) is completed, and the master dataset remains untouched.
3) Temporary selection of displayed data can also be made after a plot has been
generated (menu Plot editing, see below).
1.3.5 Grouping
Samples can be assigned to groups based on several criteria. This allows many
functions throughout the system to split the dataset into coherent subsets, which
facilitates the comparisons of, say, analyses from individual intrusions.
Tools for assigning the data to groups, found in menu Data handling|Set
groups by…, are listed in Table A2.1.
1.4 Plotting
There are several plot categories with different behaviour. First, most of the single
geochemical plots are generated by an internal GCDkit system called Figaro,
which also includes tools for subsequent plot changes (available in menu Plot edit-
ing). Second, so-called plates act as a platform for the arbitrary combination of
more Figaro plots arranged over a regular grid, which can be edited collectively as
well as individually. Third, there are the mainly statistically oriented ones, which
are native to R and cannot be edited by GCDkit tools. All graphics without excep-
tion may be exported in several vector or bitmap formats.
Most plotting functions are gathered in the Plots menu entry, but some are also
in the Calculations|Statistics and elsewhere (Table A2.2). Actual plotting is pre-
ceded by series of pop-up windows, which vary from case to case, but the overall
logic remains the same: what variables to plot (e.g. x, y axis), what samples to use
and further plot details, if any.
It is good to notice that with each pop-up window the R-Console displays supple-
mentary information, such as available compounds or samples.
Each plot opens in a separate window and remains available for saving until
closed by the user. Note that too many opened windows may cause GCDkit to
crash, so it is wise to close unnecessary windows from time to time (either
individually or by GCDkit|Close all graphic windows entry).
324 Appendix B Introduction to GCDkit
70
65
10
60
SiO 2
1
55
50
0.1
e 12 f
0.000 0.001 0.002 0.003 0.004
10
6
Density
FeOt
4
15
10
MgO 5 8
6 0 100 200 300 400 500
4
2 Na2O K2O Rb
vars
edit?
stats?
multi?
Plots|Binary plot N 2 N Y generic xy plot
Plots|Ternary plot N 3 N Y generic triangle plot; x + y + z sums to 100%
Plots|3D plot N 3 N N generic 3D plot; can be rotated
Plots|xyz plot with circles N 3 N N xy plot with symbol size and colour according to z
Plots|Binary boxplot N 2 Y N xy plot with boxplots for each axis
Plots|Anomaly plot N 3 Y N xy plot with symbol and its size according to z
Plots|Multiple plots… 1 vs. majors or 1 vs. traces Y 3 N Y Harker-style series of plots with common x axis
Appendix B Introduction to GCDkit
multi – combination of more simple plots?; vars – number of numerical variables; stats – statistics involved?; edit – diagram editable inside GCDkit?
326 Appendix B Introduction to GCDkit
Although the specific properties of each plot are either predefined or set by the
function call, there are several system-wide options that can be set beforehand.
Available symbols
x 20 symbols, coded by numbers 1–20 (Plot settings|Show available symbols)
x letters or other text strings (cannot be combined with symbols above)
x ASCII symbols in range 32–159, coded by numbers
x any Unicode symbol specified by its hexadecimal code (e.g. -0x2642L)
Note that for the latter three it may be difficult to identify the true projection spot
Available colours
x 7 basic colours with several shades, coded by numbers 1–49 (Plot
settings|Show available colours)
x 657 named colours, coded by English name string, see showColours()
x any colour in RGB model (8-bit hexadecimal colour code, e.g. #FF0000 is red)
x any colour in RGBA model (the same but with two extra digits for opacity, e.g.
#FF0000BF is red with 75% opacity (~ 25% transparency))
Symbols and colours are defined in several ways. First, they may be specified in
the input file in columns titled ‘Symbol’ and ‘Colour’. The second option is to
auto-assign them during loading according to one of the existing labels, for exam-
ple, locality. The third possibility is to invoke the Plot settings menu, where they
can be set according to a chosen label (Colours by label and Symbols by label) or
according to groups (Symbols/colours by groups).
Transparency in the range from 0 to 1 can also be defined for each sample in
Plot settings|Set transparency.
Allied to this is the layout of the plot legend. The legend content is defined to-
gether with symbols and colours (obviously). Plotting symbol properties must be
pre-defined according to a label (or group); otherwise the legend displays mean-
ingless information. A legend can be added to most plots. If both symbols and
colours are based on the same parameter, only one legend appears; otherwise two
are drawn, one for symbols and the other for colours. The prepared legend is added
to existing plot by Plot editing| Add...|Legend.
Some more options controlling the general plot appearance are available in the
menu GCDkit|Options…. For instance, relative plotting symbol size, colour of
discriminant boundaries and text annotations are adjusted here.
Appendix B Introduction to GCDkit 327
Single plots can be further manipulated using tools in the Plot editing menu.
Only the current plot can be edited, i.e. that labelled ACTIVE in the Title
bar. If another plot is created, appropriate places in memory are taken by
the new data and the previous plot is not adjustable anymore.
Each plot can be saved to a file (in internal format) and later reloaded including
the original data (Plot editing|Save a graph and Load a graph).
Many components of a plot can be edited including title and subtitle as well as
axis labels, colours, text and symbol sizes. Table A2.3 lists available tools for add-
ing items to plots, located in the Plot editing|Add… menu. The last two sit directly
under Plot editing. Added items can be erased using the Plot editing |Redraw|
Reset menu entry.
Table A2.3 Objects that can be added to plots; not all items apply to all plots
Another useful tool is zooming (Plot editing|Zoom…). There are two options—
you can adjust the limits of either the x or y axis, or interactively select the rectan-
gular zooming area by clicking its opposite corners. The zoomed area appears in a
new window, which should be closed by clicking the OK button therein. If you
want to further use it, just put focus on the R-Console and press Esc.
A further group of tools enables data identification within a plot. Go to Plot ed-
iting|Identify points, and by clicking any symbol in the diagram its name will
328 Appendix B Introduction to GCDkit
show up. The Select samples and Highlight multiple points selections in turn show
(or highlight) points chosen by the standard selection procedure.
Plates are collections of plots in a single window/on a single sheet. Their charm
rests in the fact that plots can be created and edited individually as well as collec-
tively.
Whereas plates can be built automatically, as are, for example, most geotec-
tonic diagrams or all Harker plots, they can also easily be constructed from scratch.
Menu entry Plots|Plate of several plots defines an empty grid of rows and col-
umns. Right-clicking the context menu GCDkit plate|Select slot activates a red
rectangle highlighting the “active” slot, which moves together with the cursor. The
selection is confirmed with a left-click, and the rectangle colour becomes ochre.
Fill the slot with the desired graphics from the GCDkit plate|Introduce plot menu
option. Several plots are available (Binary plot, Ternary plot, Spiderplot and Clas-
sification diagram); a particularly convenient technique here is to introduce a pre-
viously prepared and saved plot in internal format (Load a saved graph).
The existing plate can be further edited, either each plot individually using
tools described above (accessed by the Plot editing entry in the context menu), or
all plots together (Plate editing). The latter entry contains several exporting op-
tions, tools for axis, plotting symbol and colours editing (and unification) and for
text annotations removal.
1.4.4 Spiderplots
Apart from the standard multi-element diagram (spiderplot) there are several ad-
vanced variants (Sect. 4.2). Instead of individual samples, fields for predefined
groups, spider boxplots or spider box and percentile plots can be drawn. Also
double-normalized plots are available: once normalized data are re-normalized
by the content of one—normally the least incompatible—element, and all the
patterns intercept here. Further options, such as combination of shaded fields with
individual patterns, can be set up from the command line. See exam-ple(spider)
and help(spider). Normalization data can be inspected and edited in a text file,
see this Appendix, Sect. 2.4 for details. The usage of standard spiderplots is discussed
in Sect. 3.6. of the main text.
Another useful option is to normalize using a sample chosen from the dataset or
average of selected samples.
Appendix B Introduction to GCDkit 329
Read the original paper. This general rule is particularly important here:
each classification diagram has its limits and application rules specified.
These guidelines cannot be fully followed by the classification routine, and the
results can thus be misleading albeit numerically correct. References for each dia-
gram can be found in GCDkit help, or in the file GCDkit/doc/diagrams.pdf in
your R library folder.
1.5 Calculations
Numerous calculation routines are the real core of GCDkit. Calculated data are
displayed in the Console and stored internally (in the variable results). From
here they can be inspected, exported or appended to data (GCDkit|Append results
to data), i.e. stored for any subsequent calculations and plotting.
Some calculations are performed automatically during data loading. Depending
on the data available in the file, some elemental abundances and basic indexes are
computed (K, Ti, P, FeOt, mg#, Mg#, A/NK, A/CNK, K2O/Na2O). All are ap-
pended to the main data table WR. Majors recalculated to anhydrous basis are
stored in WRanh, and recast to millications (milli; Sect. 2.2.2, main text).
330 Appendix B Introduction to GCDkit
Within the Calculation menu are available several normative and related
schemes as summarized in Table A2.4. Calculations|Statistics offers several vari-
ants of descriptive statistics together with graphical presentation.
The system would be of little use without a method to get data and results out of it,
either numerical or graphical.
If the dataset was modified within GCDkit, for example by merging, subsetting,
or direct editing, it is necessary and wise to save it occasionally (yes, the system
can crash unexpectedly). The menu entry GCDkit|Save data stores the data in
GCDkit native format (Appendix B, sect. 1.3.1), whereas GCDkit|Export data table
to... offers several alternative formats ( *.html, *.xls, *.xlsx, *.mdb, *.dbf).
The HTML option is of particular interest, as it featur es routines for sample and
variable selection, computes the sum and rounds off the data if required. This is
the best option to obtain a quick and well formatted data table for presentation.
Apart from raw data, each computation as well as many plots produce numeri-
cal output, displayed in the R-Console and stored in variable results. These val-
ues can be saved or exported in the same formats as the dataset (GCDkit|Save re-
sults and GCDkit|Export results table to…, respectively). Alternatively, perhaps
more handy is to export via the system clipboard (GCDkit|Copy results to clip-
board).
Do not copy results directly from the console. This is particularly incon-
venient, as the output is usually poorly formatted and contains unnecessary
symbols. Use one of the exporting options outlined above instead.
Any graphical window may be saved to one of several formats; vector files as well
as bitmaps (raster). Both vector and bitmap images can also be transferred via the
Windows clipboard. Exporting options are available in the title bar of each graphi-
cal window (File|Save as…); a somewhat limited set of options is also accessible
in the right-click context menu. Moreover, all opened graphical windows can be
saved en bloc via GCDkit|Save all graphics to… option.
Export to vector graphics for further editing. Using a vector format fa-
cilitates further modification of GCDkit plots with graphical programs
such as Adobe Illustrator or Corel Draw. Available formats are Windows
metafile (*.wmf), postscript (*.eps) and Adobe’s portable format (*.pdf), the
last one usually giving the best results.
332 Appendix B Introduction to GCDkit
Chapter 2
Under the Bonnet: GCDkit Internals
Chapter one introduced the reader into using GCDkit with few details of the pro-
gramme’s internal design or binding to the R environment. The dark side of such
an approach is obvious—a substantial part of the functionality and flexibility re-
mains hidden. Here we try to go into more detail, explaining the structure of the
data, further tools available via the command line and ways to extend the system.
GCDkit stores the geochemical data in several variables. These can be accessed
directly from the R-Console or used in batch mode (e.g. in plugins):
x WR – matrix with all loaded and appended numerical data, as well as some
variables calculated during sample loading (A/CNK, Ti, FeOt…),
x labels – a dataframe with the rest of the information. Columns contain all
the textual data, as well as plotting attributes ‘Colour’, ‘Symbol’ and ‘Size’,
x WRanh – matrix with oxides recalculated to 100 % anhydrous basis,
x milli – matrix of molar proportions of the elements (see ?millications),
x groups – vector of group ‘levels’ assigned to each sample (i.e., if groups are
defined by locality, vector groups contains locality name for each sample),
x results – an object (most typically, a matrix) containing the outcome of the
last calculation, including the auxiliary data of some plotting functions.
All variables can be accessed and manipulated just like any other R object, for in-
stance WR[,"SiO2"]will return a named vector containing the silica contents of
your samples. Furthermore, WR, labels, WRanh and milli all carry sample IDs
as rownames, and the same holds for the groups attribute name. Thanks to this
the variables can be matched or indexed by sample names.
Moreover, GCDkit defines some useful system variables. Vectors major, REE,
HFSE and LILE contain eponymous species 2 , and can be used as a nickname
throughout the system (try multiple("SiO2",LILE)as an example). Use of
vector ‘mw’ containing atomic weights is obvious (try mw["La"] or mw[LILE]).
Variable Comment
major SiO2, TiO2, Al2O3, Fe2O3, FeO, MnO, MgO, CaO, Na2O, K2O, P2O5
REE La, Ce, Pr, Nd, Sm, Eu, Gd, Tb, Dy, Ho, Er, Tm, Yb, Lu
LILE Rb, Sr, Ba, K, Cs, Li
HFSE Zr, Hf, Nb, Ta, Ti, La, Ce, Y, Ga, Sc, Th, U
MW, mw vector of molar/atomic weights of oxides and elements, respectively
mol.wt matrix of molar weights, number of cations and of O for all oxides
filename name (including path) of last loaded or appended file
data.dir path to default data folder
gcdx.dir path to GCDkit system folder
2 NB that these three variables store the list of relevant elements that are present in your file.
334 Appendix B Introduction to GCDkit
GCDkit includes several built-in datasets used for internal purposes. These are
stored in plain text files and can be edited manually, though care should be taken
to maintain the formatting.
Data for normalization within spider diagrams are retrieved from a file
spider.data in the GCDkit library root folder (see gcdx.dir). Each normali-
zation series is defined in triplet of text lines, with individual elements separa-
ted by commas:
MORB (Pearce 1996)
Th,Nb,Ce,Zr,Ti,Y
0.2,2.7,10,90,8692.75,30
The first line contains the title and reference, the second element names and the
third normalizing values. The element order matters as it determines sorting of the
spidergram. There is an empty row between the adjacent normalization schemes.
As the file spider.data is read only when it is needed, the user can add or delete
normalization schemes at will using a text editor. See also help to selectNorm .
Similar format and location apply to the reservoir.data file, which is used
by the Plot editing|Add…|Reservoirs/Minerals option. However, the elemental or-
der does not matter here, as this function only adds items to an existing plot. The
same routine also invokes the file idealmins.data to get mineral compositions.
The format is tab-delimited table in this case, which may add both rows and col-
umns in units corresponding to the data loaded in GCDkit (i.e. wt. % and ppm).
The templates for classification and geotectonic diagrams are also stored as
plain text files in the Diagram folder of the GCDkit root. This allows an R-literate
user to explore, edit (translation being the most likely reason) or even create a new
template (with a little more effort). Although there is not space to explain the for-
mat in detail, it is fairly self-explanatory. In short, the template defines an R list,
which is assigned to the variable sheet. The boundaries and texts for the plot are
each defined as one list item, the item clssf carries parameters for classification,
item GCDkit and arguments written in the sheet assignment define the parame-
ters determining the plot appearance.
2.5 Plugins
The previous section shows some options to adjust built-in data and templates
used for standard GCDkit functionality. Users can go further, by creating a
plugin to add new functions. In outline, after successfully loading a datafile the
system executes any R code (recognized by a suffix of .r or .R) found in the
Appendix B Introduction to GCDkit 335
There are some general rules especially important if the new plugin is in-
tended for sharing with other users (which we recommend):
x do integrate the plugin into the appropriate menu, i.e. Plugins,
x do not rewrite any existing objects,
x in order to maintain data integrity, do not alter existing GCDkit variables di-
rectly; create a new variable or use dedicated functions instead,
x use comments in the code to explain its functionality,
x write documentation.
Standard plugins, in the Plugin directory, can serve as an inspiration. Further de-
tails/hints for plugin programming were given by Janoušek and Moyen (2014).
336 Appendix B Introduction to GCDkit
References
De la Roche H, Leterrier J, Grandclaude P, Marchal,M (1980) A classification of volcanic and
plutonic rocks using R1R 2– diagram and major-element analyses —its relationships with cur-
rent nomenclature. Chem Geol 29:183–210
Debon F, Le Fort P (1983) A chemical–mineralogical classification of common plutonic rocks
and associations. Trans Roy Soc Edinburgh, Earth Sci 73:135–149
Gabriel K (1971) The biplot graphic display of matrices with application to principal component
analysis. Biometrika 58: 453–467
Janoušek V, Moyen J-F (2014) Mass balance modelling of magmatic processes in GCDkit. In:
Kumar S, Singh RN (eds) Modelling of magmatic and allied processes. Society of Earth
Scientists Series, vol 83. Springer, Berlin, pp 225–238
Pearce JA, Harris NBW, Tindle AG (1984) Trace element discrimination diagrams for the tectonic
interpretation of granitic rocks. J Petrol 25:956–983
Rollinson H (1993) Using geochemical data: evaluation, presentation, interpretation. Longman,
Harlow
Streckeisen A, Le Maitre R (1979) A chemical approximation to the modal QAPF classification
of the igneous rocks. Neu Jb Mineral, Abh 136: 169–206
Appendix C
Solving Systems of Linear Algebraic
Equations in R
JG JG
only the matrix A and vector y are known, we can back-calculate the vector x
using:
> x <- solve(A,y)
provided that there is exactly the same number of independent equations as vari-
ables (i.e. A is a square matrix that can be inverted).
If there are more independent equations than variables, the system is overdeter-
mined. The matrix A is not square, and thus cannot be inverted.
JJG But we can cal-
JG
culate an approximate estimate of the vector x (denoted here x c ). Defining:
JJG JJG
yc = A × xc (1.2)
JJG
we must
JG find the value of x c such that the computed and real elements of the vec-
tor y differ as little as possible. The most common approach is to JJG minimize
JG the
sum of the squares of the differences between each element of y c and y (so-
called least-square method: Bryan et al. 1969; Albarède and Provost 1977; Al-
barède 1995):
JJG JG 2
R2 yc y min (1.3)
JJG § T 1
JG
x c = ¨ A × A ·¸ × A × y
T
(1.4)
© ¹
1
§ T · T
By analogy with Eq. (1.1), © A × A ¹ × A is referred to as the (Moore–
Penrose) “pseudo inverse” of matrix A (it serves the same purpose as an inverse).
Albarède (1995) discussed in a detail all the necessary mathematical apparatus
that is behind the solution. Janoušek and Moyen (2014) have shown implementa-
tion of (unconstrained) least-square method in R and its utilization for solving
simple geochemical problems, such as modal calculations or reverse mass-balance
modelling of fractional crystallization. The least-squares are implemented by the
R function:
Appendix C Solving Systems of Linear Algebraic ... 339
In geochemistry are very often examined some variables that have to fulfil some
condition. Most commonly they sum up to a certain value (e.g., unity or 100 %).
The ordinary least-square method generally does not produce such normalized so-
lutions, though. Albarède (1995) presented the necessary equations for modified,
‘constrained’ least squares defining the Lagrange multiplier O as:
JJG JJG
1 J T xc
O (1.5)
JJG T 1 JG
J T ¨§ A × A ¸· J
© ¹
JJG JG
where x c stands for an ordinary least-square solution 2 and J is a vector whose all
elements are 1. The constrained least-squares solution is then given by:
JG JJG 1 JG
xˆ = x c + O §¨ A × A ·¸ J
T
(1.6)
© ¹
1 Note that the parameter intercept needs to be set to FALSE for the solution to pass
through the origin.
2 Obtained by lsfit as above.
340 Appendix C Solving Systems of Linear Algebraic ...
References
Albarède F (1995) Introduction to geochemical modeling. Cambridge University Press,
Cambridge
Albarède F, Provost A (1977) Petrological and geochemical mass-balance equations: an
algorithm for least-square fitting and general error analysis. Comput and Geosci 3:309–326
Bryan WB, Finger LW, Chayes F (1969) Estimating proportions in petrographic mixing
equations by least-squares approximation. Science 163:926–927
Janoušek V, Moyen JF (2014) Mass balance modelling of magmatic processes in GCDkit. In:
Kumar S, Singh RN (eds) Modelling of magmatic and allied processes. Society of Earth
Scientists Series, vol 83. Springer, Berlin, pp 225–238
Le Maitre RW (1979) A new generalised petrological mixing model. Contrib Mineral Petrol
71:133–137
Le Maitre RW (1981) GENMIX—a generalized petrological mixing model program. Comput
and Geosci 7:229–247
Rock NMS (1988) Numerical Geology. A source guide, glossary and selective bibliography to
geological uses of computers and statistics. Lecture Notes in Earth Sciences, vol 18. Springer,
Berlin
Stormer JC, Nicholls J (1978) XLFRAC: a program for the interactive testing of magmatic
differentiation models. Comput and Geosci 4:143–159
Wright TL, Doherty PC (1970) A linear programming and least squares computer method for
solving petrologic mixing problems. Geol Soc Amer Bull 81:1995–2008
3 Butone needs to be aware of the problem of peritectic minerals, for which a negative coefficient
is meaningful. See Sect. 6.3.
Index