brown_subtype: Determine the subtype of brown coal in accordance with GOST...

Description Usage Arguments Value Examples

View source: R/brown_subtype.R

Description

In accordance with GOST 25543 (Table 8) determine the subtype of brown coal by yield of tar, [%].

Usage

1
brown_subtype(tscdaf)

Arguments

tscdaf

yield of tar, [%], measured in accordance with ISO 647 and recalculated on dry ash-free basis. Type: [double].

Value

Identifier of brown coal subtype according to Table 8 of GOST 25543. Type: [character].

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
brown_subtype(c(0.1, 9.9, 10.04, 10.05, 15.0, 15.09, 20.0, 43.2))
# [1] "05" "05" "05" "10" "10" "15" "15" "20"

# building test:
stopifnot(
  all(
    brown_subtype(c(0.1, 9.9, 10.04, 10.05, 15.0, 15.09, 20.0, 43.2)) ==
      c("05", "05", "05", "10", "10", "15", "15", "20")
  )
)

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