Learn R Programming

rysgran (version 1.0)

gran.stats: Statistical Analysis of Grain Size for Unconsolidated Sediments

Description

Calculates mean, median, sorting, skewness, kurtosis, fifth and sixth moments, and creates the verbal classification of the results. Uses the statistical methods of Trask (1930), Otto (1939), Folk & Ward (1957), McCammon(a) (1962), McCammon(b) (1962) and Method of Moments (TANNER, 1995)

Usage

gran.stats(tab, method = "folk", verbal = FALSE, lang = "en-US")

Arguments

tab
a data matrix with grain size samples
method
statistical analysis method. Could be method="folk" , method="moment" , method="otto" , method="trask" , method="mcA" and method="mcB". Default is method="folk"
verbal
logical. If TRUE, columns will be added with verbal classification of statistical paramenters. Default is TRUE
lang
language . Could be english ("en-US", "en-GR", "eng", "e"), or portuguese ("pt-BR", "pt-PT", "port", "p"). The default is "en-US"

Value

  • An array of variable number of dimensions, depending on the chosen arguments, with the statistical paramenters for each sample. The values of this matrix should be used in rysgran.plot function, available in this package

Details

The matrix of particle size used in data entry must contain the first line of phi classes (logarithmic scale), each following line should contain the weights of a sample. For further details on the structure of the input table see data example camargo2001 included in this package

References

- Folk, R. L. and Ward W. C. (1957) Brazos river bar: A study in the significance of grain size parameters. Journal of Sed. Petrol., 27: 3--27. - McCammon, R. B. (1962) Efficiencies of percentile measurements for describing the mean size and sorting of sedimentary particles. Journal of Geology, 70: 453--465. - Otto, G. H. (1939) A modified logarithmic probability paper for the interpretation of mechanical analysis of sediments. Journal os Sed. Petrol., 9: 62--76. - Tanner, W.F. (1995) Environmental clastic granulometry. Florida Geological Survey, Special Publication 40. 142 pp. - Trask, P. D. (1930) Mechanical analysis of sediments by centrifuge. Economic Geology, 25: 581--599.

See Also

rysgran.plot , rysgran.ternary , rysgran.hist , class.percent

Examples

Run this code
#Example
library (rysgran)
data (camargo2001)
tab <- camargo2001
#
#Folk & Ward
gran.stats(tab , method = "folk" , verbal = FALSE, lang="en-US")
#
#Folk & Ward with verbal classification
gran.stats (tab , method = "folk" , verbal = TRUE, lang="en-US")
#
#Folk & Ward in portuguese
gran.stats (tab , method = "folk" , verbal = TRUE, lang="pt-BR")
#
#Method of Moments with verbal classification
gran.stats (tab , method = "moment" , verbal = TRUE)

Run the code above in your browser using DataLab