restore: Undo the effect of hydraulic sorting

View source: R/srd.R

restoreR Documentation

Undo the effect of hydraulic sorting

Description

Restore the detrital composition back to a specified source rock density (SRD)

Usage

restore(X, dens, target = 2.71)

Arguments

X

an object of class compositional

dens

a vector of rock and mineral densities

target

the target density (in g/cm3)

Value

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.

Author(s)

Alberto Resentini and Pieter Vermeesch

References

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.

See Also

minsorting

Examples

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)

provenance documentation built on May 29, 2024, 4:23 a.m.