Description Usage Arguments Value Examples
View source: R/anthracite_code.R
In accordance with GOST 25543 (part 7) form the digital code for anthracite using results of laboratory measurements.
1 | anthracite_code(r, sok, vnudaf, ar)
|
r |
reflectance of vitrinite, [%], measured in accordance with
ISO 7404-5.
Type: [ |
sok |
total volume of all fusinite fractions, [%]. The next fusinite fractions may be considered:
Type: [ |
vnudaf |
volatile matter volume yield, [cm^3/g], measured in
accordance with GOST 7303.
Type: [ |
ar |
anisotropy of vitrinite reflectance, [%], calculated in accordance
with formula 4 in GOST R 55659.
Type: [ |
Digital code according to Part 7 of
GOST 25543.
Type: [character
].
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | # Consider two samples of anthracite with the next laboratory
# measurement results:
r0 <- c(3.51, 3.64)
sok <- c(12, 2)
vnudaf <- c(270.3, 174.6)
ar <- c(0, 46.8)
x <- anthracite_code(r0, sok, vnudaf, ar)
print(x)
# [1] "3512020" "3601540"
# Unit test:
stopifnot(
x %in% with(coal.state:::g25543db()$anthracite, {
c(
S1ABx$code, S2ABx$code
)
})
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.