restore | R Documentation |
Restore the detrital composition back to a specified source rock density (SRD)
restore(X, dens, target = 2.71)
X |
an object of class |
dens |
a vector of rock and mineral densities |
target |
the target density (in g/cm3) |
an object of class SRDcorrected
, i.e. an object of class
compositional
which is a daughter of class compositional
containing the restored composition, plus one additional member called
restoration
, containing the intermediate steps of the SRD correction
algorithm.
Alberto Resentini and Pieter Vermeesch
Garzanti E, Ando, S and Vezzoli, G. "Settling equivalence of detrital minerals and grain-size dependence of sediment composition." Earth and Planetary Science Letters 273.1 (2008): 138-151.
minsorting
data(Namib,densities)
rescomp <- restore(Namib$PTHM,densities,2.71)
HMcomp <- c("zr","tm","rt","sph","ap","ep","gt",
"st","amp","cpx","opx")
amcomp <- amalgamate(rescomp,Plag="P",HM=HMcomp,Opq="opaques")
plot(ternary(amcomp),showpath=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.