Learn R Programming

webchem (version 0.0.5.0)

extr_num: Extract a number from a string

Description

Extract a number from a string

Usage

extr_num(x)

Arguments

x
character; input string

Value

  • a numeric vector

Examples

Run this code
extr_num('aaaa -95')

Run the code above in your browser using DataLab