fuel_cat: Determine the category of fossil fuels in accordance with...

Description Usage Arguments Value Examples

View source: R/fuel_cat.R

Description

In accordance with GOST 25543 (Table 4) determine the category of fossil fuel by total volume of all fusinite fractions. The next fusinite fractions may be considered:

inertinite

determined in accordance with ISO 7404-3

two thirds of semivitrinite

determined in accordance with GOST R 55662

Usage

1
fuel_cat(sok)

Arguments

sok

total volume of all fusinite fractions, [%]. Type: [numeric].

Value

Identifier of fossil fuel category according to Table 4 of GOST 25543. Type: [character].

Examples

1
2
3
4
5
6
7
8
9
  fuel_cat(c(5.0, 10, 59, 80))
  # [1] "0" "1" "5" "7"

  # building test:
  stopifnot(
    all(
      fuel_cat(c(5.0, 10, 59, 80)) == c("0", "1", "5", "7")
    )
  )

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