| minsorting | R Documentation | 
Models grain size distribution of minerals and rock fragments of different densities
minsorting(
  X,
  dens,
  sname = NULL,
  phi = 2,
  sigmaphi = 1,
  medium = "freshwater",
  from = -2.25,
  to = 5.5,
  by = 0.25
)
X | 
 an object of class   | 
dens | 
 a vector of mineral and rock densities  | 
sname | 
 sample name if unspecified, the first sample of the dataset will be used  | 
phi | 
 the mean grain size of the sample in Krumbein's phi units  | 
sigmaphi | 
 the standard deviation of the grain size distirbution, in phi units  | 
medium | 
 the transport medium, one of either "air", "freshwater" or "seawater"  | 
from | 
 the minimum grain size to be evaluated, in phi units  | 
to | 
 the maximum grain size to be evaluated, in phi units  | 
by | 
 the grain size interval of the output table, in phi units  | 
an object of class minsorting, i.e. a list with two
tables:
mfract: the grain size distribution of each mineral (sum of the columns = 1)
mcomp: the composition of each grain size fraction (sum of the rows = 1)
Alberto Resentini and Pieter Vermeesch
Resentini, A, Malusa, M G and Garzanti, E. "MinSORTING: An Excel worksheet for modelling mineral grain-size distribution in sediments, with application to detrital geochronology and provenance studies." Computers & Geosciences 59 (2013): 90-97.
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.
restore
data(endmembers,densities)
distribution <- minsorting(endmembers,densities,sname='ophiolite',phi=2,
                           sigmaphi=1,medium="seawater",by=0.05)
plot(distribution,cumulative=FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.