text2decimal {nonmemica}R Documentation

Convert Text to Decimal

Description

Scavenge text for first reasonably-inferred numeric value.

Usage

text2decimal(x)

Arguments

x

character

Value

numeric

See Also

Other util: %contains%(), as.best(), as.best.default(), enclose(), locf(), padded(), parens(), pool(), runhead()

Examples

text2decimal('30 mg')

[Package nonmemica version 1.0.11 Index]