brown_type: Determine the type of brown coal in accordance with GOST...

Description Usage Arguments Value Examples

View source: R/brown_type.R

Description

In accordance with GOST 25543 (Table 5) determine the type of brown coal by maximum moisture-holding capacity.

Usage

1
brown_type(wmaxaf)

Arguments

wmaxaf

maximum moisture-holding capacity, [%], measured in accordance with ISO 1018. Type: [double].

Value

Identifier of brown coal type according to Table 5 of GOST 25543. Type: [character].

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
  brown_type(c(5.678, 19.94, 19.95, 20, 30, 69.9444))
  # [1] "10" "10" "20" "20" "30" "60"

  # building test
  stopifnot(
    all(
      brown_type(c(5.678, 19.94, 19.95, 20, 30, 69.9444)) ==
      c("10", "10", "20", "20", "30", "60")
    )
  )

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