parse_unit_brackets {wikilake} | R Documentation |
Parse string representation of units package quantities
Description
Parse string representation of units package quantities
Usage
parse_unit_brackets(x, target_unit = NA)
Arguments
x |
character string with unit in brackets |
target_unit |
target unit to convert to. optional |
Examples
x <- "1 [m]"
x <- "8.5 [m]"
parse_unit_brackets(x, "feet")
[Package wikilake version 0.7.0 Index]