View source: R/prepare_Sieving.R
prepare_Sieving | R Documentation |
The function removes grains that are not within the provided sieve interval.
prepare_Sieving(sample, interval)
sample |
data.frame sample object to be sieved. |
interval |
numeric vector, sieve interval, in phi units. |
data.frame with grains that are within the sieve interval.
Michael Dietze, GFZ Potsdam (Germany)
## load example data set data(sample, envir = environment()) ## sieve sample (in phi units) sample_sieved <- prepare_Sieving( sample = sample, interval = c(5, 6)) ## plot results plot(density( x = sample$grainsize, from = -1, to = 11)) lines(density( x = sample_sieved$grainsize, from = -1, to = 11), col = 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.