as_unit_string.character: Coerce Character to Unit String

Description Usage Arguments Value See Also Examples

View source: R/unit_string.R

Description

Coerces character to class 'unit_string'. See description for as_unit_string.

Usage

1
2
## S3 method for class 'character'
as_unit_string(x, ...)

Arguments

x

character

...

ignored arguments

Value

unit_string

See Also

Other unit_string: [.unit_string(), [[.unit_string(), as_unit_string.factor(), as_unit_string.symbolic_units(), as_unit_string.units(), as_unit_string()

Examples

1
as_unit_string('kg m2 s-2')

yamlet documentation built on July 19, 2021, 1:06 a.m.