fuel_class: Determine the class of fossil fuels in accordance with GOST...

Description Usage Arguments Value Examples

View source: R/fuel_class.R

Description

In accordance with GOST 25543 (Table 3) determine the class of fossil fuel (brown, or hard coal, or anthracite) by its reflectance of vitrinite.

Usage

1

Arguments

r

reflectance of vitrinite, [%], measured in accordance with ISO 7404-5. Type: [double].

Value

Identifier of fossil fuel class according to Table 3 of GOST 25543. Type: [character].

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
fuel_class(c(0.20, 0.52, 1.3, 4.99, 4.998))
# [1] "02" "05" "13" "49" "50"

# building test:
stopifnot(
  all(
    fuel_class(c(0.20, 0.52, 1.3, 4.99, 4.998)) ==
    c("02", "05", "13", "49", "50")
  )
)

coal-coke/coal.state documentation built on Feb. 12, 2021, 10:02 a.m.