Description Usage Arguments Details Value Author(s) See Also Examples
Calculates the percentage of weight retained on each sieve and its corresponding textural class
1 2 | class.percent(data,mode = "both",
empty.col = FALSE, lang = "en-US")
|
data |
a data matrix with grain size samples |
mode |
shape of textural classes matrix. |
empty.col |
logical. If TRUE empty columns (with zero percent) are displayed. Default is FALSE |
lang |
language . May be english ("en-US", "en-GR", "eng", "e"), or portuguese ("pt-BR", "pt-PT", "port", "p"). The default is "en-US" |
The particle size matrix used in data entry must contain the first line of grain size classes (logarithmic or geometric scale), each following line should contain the weights of a sample. . No header should be used.
For further details on the structure of the input table see data examples camargo2001
, sed.phi
and sed.metric
included in this package
An array of variable dimension, depending on the chosen arguments, with the relative percentages of textural classes for each sample. This matrix should be used in ternary diagrams like Shepard and Pejrup by rysgran.ternary
function, available in this package
Eliandro R. Gilbert (eliandrogilbert@gmail.com)
Mauricio G. Camargo (camargo.ufpr@gmail.com)
1 2 3 4 5 6 7 8 9 10 | #testing the different modes
library(rysgran)
data(camargo2001)
class.percent(camargo2001, mode="total", empty.col=FALSE, lang="en-US")
class.percent(camargo2001, mode="classes", empty.col=FALSE, lang="en-US")
class.percent(camargo2001, mode="both", empty.col=FALSE, lang="en-US")
|
Loading required package: soiltexture
Loading required package: lattice
Warning message:
no DISPLAY variable so Tk is not available
Gravel Sand Silt Clay
A 0.00000000 37.95149 54.481617 7.5668913
B 0.00000000 88.24203 8.179457 3.5785126
C 0.00000000 86.10082 9.266123 4.6330615
D 0.00000000 85.37274 7.061434 7.5658227
E 0.00000000 84.18303 10.204498 5.6124740
F 0.00000000 85.42977 7.033903 7.5363251
G 0.06895153 69.00426 21.293855 9.6329345
H 0.02317094 38.42901 40.549151 20.9986677
I 0.00000000 73.68891 14.893068 11.4180186
J 0.00000000 48.13382 37.263077 14.6030979
K 0.05613472 75.38492 16.038492 8.5204491
L 0.00000000 92.43540 7.060295 0.5043068
M 0.00000000 87.26854 6.111100 6.6203581
N 0.00000000 93.44123 5.045205 1.5135615
Granules Very.Coarse.Sand Coarse.Sand Medium.Sand Fine.Sand Very.Fine.Sand
A 0.00000000 0.04035675 0.367246459 0.9201340 11.44114 25.18261
B 0.00000000 0.00000000 0.000000000 0.1186021 27.76517 60.35826
C 0.00000000 0.00000000 0.000000000 0.0803064 21.81039 64.21011
D 0.00000000 0.03429840 0.175527086 0.6395642 32.72672 51.79663
E 0.00000000 0.00000000 0.000000000 0.1326585 23.64790 60.40247
F 0.00000000 0.14670713 0.418014831 1.1193955 47.53512 36.21053
G 0.06895153 0.32447779 0.517136483 0.7260191 24.94626 42.49037
H 0.02317094 0.26646585 0.744366564 1.4510803 16.12987 19.83722
I 0.00000000 0.08935841 0.166802359 2.4345201 41.36897 29.62926
J 0.00000000 0.16315185 0.241706448 0.5982235 18.11388 29.01686
K 0.05613472 0.12830794 0.439053729 1.2971131 46.08661 27.43384
L 0.00000000 0.00000000 0.096826902 0.1633954 26.25219 65.92298
M 0.00000000 0.01629627 0.038703632 0.1548145 21.05478 66.00395
N 0.00000000 0.00000000 0.006054246 0.1089764 24.32394 69.00226
Coarse.Silt Medium.Silt Fine.Silt Very.Fine.Silt Clays
A 11.098107 10.089188 31.276484 2.017838 7.5668913
B 4.089729 2.044864 1.022432 1.022432 3.5785126
C 3.088708 2.059138 2.059138 2.059138 4.6330615
D 2.017553 2.017553 1.008776 2.017553 7.5658227
E 4.081799 2.040900 2.040900 2.040900 5.6124740
F 2.009687 3.014530 0.000000 2.009687 7.5363251
G 5.069966 8.111945 6.083959 2.027986 9.6329345
H 13.033656 10.137288 14.481840 2.896368 20.9986677
I 3.971485 3.971485 3.971485 2.978614 11.4180186
J 11.078212 23.163535 2.014220 1.007110 14.6030979
K 5.012029 6.014435 2.004812 3.007217 8.5204491
L 4.034454 2.017227 1.008614 0.000000 0.5043068
M 1.018517 3.055550 1.018517 1.018517 6.6203581
N 2.018082 2.018082 0.000000 1.009041 1.5135615
Gravel Sand Silt Clay Granules Very.Coarse.Sand
A 0.00000000 37.95149 54.481617 7.5668913 0.00000000 0.04035675
B 0.00000000 88.24203 8.179457 3.5785126 0.00000000 0.00000000
C 0.00000000 86.10082 9.266123 4.6330615 0.00000000 0.00000000
D 0.00000000 85.37274 7.061434 7.5658227 0.00000000 0.03429840
E 0.00000000 84.18303 10.204498 5.6124740 0.00000000 0.00000000
F 0.00000000 85.42977 7.033903 7.5363251 0.00000000 0.14670713
G 0.06895153 69.00426 21.293855 9.6329345 0.06895153 0.32447779
H 0.02317094 38.42901 40.549151 20.9986677 0.02317094 0.26646585
I 0.00000000 73.68891 14.893068 11.4180186 0.00000000 0.08935841
J 0.00000000 48.13382 37.263077 14.6030979 0.00000000 0.16315185
K 0.05613472 75.38492 16.038492 8.5204491 0.05613472 0.12830794
L 0.00000000 92.43540 7.060295 0.5043068 0.00000000 0.00000000
M 0.00000000 87.26854 6.111100 6.6203581 0.00000000 0.01629627
N 0.00000000 93.44123 5.045205 1.5135615 0.00000000 0.00000000
Coarse.Sand Medium.Sand Fine.Sand Very.Fine.Sand Coarse.Silt Medium.Silt
A 0.367246459 0.9201340 11.44114 25.18261 11.098107 10.089188
B 0.000000000 0.1186021 27.76517 60.35826 4.089729 2.044864
C 0.000000000 0.0803064 21.81039 64.21011 3.088708 2.059138
D 0.175527086 0.6395642 32.72672 51.79663 2.017553 2.017553
E 0.000000000 0.1326585 23.64790 60.40247 4.081799 2.040900
F 0.418014831 1.1193955 47.53512 36.21053 2.009687 3.014530
G 0.517136483 0.7260191 24.94626 42.49037 5.069966 8.111945
H 0.744366564 1.4510803 16.12987 19.83722 13.033656 10.137288
I 0.166802359 2.4345201 41.36897 29.62926 3.971485 3.971485
J 0.241706448 0.5982235 18.11388 29.01686 11.078212 23.163535
K 0.439053729 1.2971131 46.08661 27.43384 5.012029 6.014435
L 0.096826902 0.1633954 26.25219 65.92298 4.034454 2.017227
M 0.038703632 0.1548145 21.05478 66.00395 1.018517 3.055550
N 0.006054246 0.1089764 24.32394 69.00226 2.018082 2.018082
Fine.Silt Very.Fine.Silt Clays
A 31.276484 2.017838 7.5668913
B 1.022432 1.022432 3.5785126
C 2.059138 2.059138 4.6330615
D 1.008776 2.017553 7.5658227
E 2.040900 2.040900 5.6124740
F 0.000000 2.009687 7.5363251
G 6.083959 2.027986 9.6329345
H 14.481840 2.896368 20.9986677
I 3.971485 2.978614 11.4180186
J 2.014220 1.007110 14.6030979
K 2.004812 3.007217 8.5204491
L 1.008614 0.000000 0.5043068
M 1.018517 1.018517 6.6203581
N 0.000000 1.009041 1.5135615
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.