hard_subtype: Determine the subtype of hard coal in accordance with GOST...

Description Usage Arguments Value Examples

View source: R/hard_subtype.R

Description

In accordance with GOST 25543 (Table 9) determine the subtype of hard coal by plastometric index y, [mm], and crucible swelling number, [].

Usage

1
hard_subtype(y, sl = rep_len(0, length(y)))

Arguments

y

plastometric index y, [mm], measured in accordance with GOST 1186. Type: [double].

sl

crucible swelling number, [], measured in accordance with ISO 501. Type: [double].

Value

Identifier of hard coal subtype according to Table 9 of GOST 25543. Type: [character].

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
hard_subtype(0:9, 0:9)
# [1] "00" "01" "01" "01" "01" "01" "06" "07" "08" "09"

# build test:
stopifnot(
  all(
    hard_subtype(0:9, 0:9) ==
    c("00", "01", "01", "01", "01", "01", "06", "07", "08", "09")
  )
)

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