Learn R Programming

yamlet (version 0.6.5)

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_symbolic_unit for finer control.

Usage

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

Arguments

x

character

...

passed arguments

Value

logical

See Also

Other parseable: is_parseable()

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

Examples

Run this code
# NOT RUN {
is_parseable(c('kg/m2','kg/m^2','kg.m/s2','<U+00C2><U+00B5>g/L'))
is_parseable('foo')
library(units)
install_symbolic_unit('foo')
is_parseable('foo')

# }

Run the code above in your browser using DataLab