Learn R Programming

yamlet (version 1.2.1)

is_parseable.default: Check Something is Parseable as Units by Default

Description

Checks if something is parseable as units. Tests against the udunits library in units. See as_units. See also install_unit for finer control.

Usage

# S3 method for default
is_parseable(x, ...)

Value

logical

Arguments

x

character

...

passed arguments

See Also

Other parseable: is_parseable()

Other interface: canonical.decorated(), classified.data.frame(), decorate.character(), decorate.data.frame(), desolve.decorated(), enscript.default(), ggplot.decorated(), io_csv.character(), io_csv.data.frame(), io_res.character(), io_res.decorated(), io_table.character(), io_table.data.frame(), io_yamlet.character(), io_yamlet.data.frame(), mimic.default(), modify.default(), promote.list(), read_yamlet(), resolve.decorated(), selected.default(), write_yamlet()

Examples

Run this code
is_parseable(c('kg/m2','kg/m^2','kg.m/s2','µg/L'))
is_parseable('foo')
library(units)
install_unit('foo')
is_parseable('foo')

Run the code above in your browser using DataLab