Skip to contents

Classifies a canonical standard name into its polymer type.

Usage

get_standard_type(standard_name)

Arguments

standard_name

Character string of the standard name (canonical form).

Value

Character string of the standard type: "PS", "PMMA", "PEG", "Pullulan", "Generic", or "Other".

Examples

get_standard_type("PS A")
#> [1] "PS"
get_standard_type("Standard 2")
#> [1] "Generic"
get_standard_type("PMMA C")
#> [1] "PMMA"