read.densities | R Documentation |
Reads a data table containing densities to be used for hydraulic sorting corrections (minsorting and srd functions)
read.densities(
fname,
sep = ",",
dec = ".",
header = TRUE,
check.names = FALSE,
...
)
fname |
a string with the path to the .csv file |
sep |
the field separator character. Values on each line of the file are separated by this character. |
dec |
the character used in the file for decimal points. |
header |
a logical value indicating whether the file contains the names of the variables as its first line. |
check.names |
logical. If |
... |
optional arguments to the built-in |
a vector with mineral and rock densities
data(Namib,densities)
N8 <- subset(Namib$HM,select="N8")
distribution <- minsorting(N8,densities,phi=2,sigmaphi=1,medium="air",by=0.05)
plot(distribution)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.