Description Usage Arguments Value Examples
In accordance with GOST 25543 (part 7) form the digital code for brown coal using results of laboratory measurements.
1 | brown_code(r, sok, wmaxaf, tscdaf)
|
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: [ |
wmaxaf |
maximum moisture-holding capacity, [%], measured in
accordance with ISO 1018. Type: [ |
tscdaf |
yield of tar, [%], measured in accordance with
ISO 647 and recalculated on dry ash-free basis.
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 | # Consider four samples of brown coals with the next laboratory
# measurement results:
r0 <- c(.24, .39, .43, .56)
sok <- c(6, 78, 47, 79)
wmaxaf <- c(53.4, 63.9, 19.2, 24.6)
tscdaf <- c(7.2, 20.9, 5.3, 11.7)
x <- brown_code(r0, sok, wmaxaf, tscdaf)
print(x)
# [1] "0205005" "0376020" "0441005" "0572010"
# Unit test:
stopifnot(
x %in% c(
coal.state:::g25543db()$brown$G1Ex$code,
coal.state:::g25543db()$brown$S3EFx$code
)
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.