Skip to contents

It is assumed that units are encased in parentheses at the end of the string

Usage

unit_string(x)

unit_string(x) <- value

Arguments

x

chr String(s) to extract units from/assign units to

Value

chr

Examples

unit_string("Elevation (F)")
#> [1] "F"