extract.number: Takes character string and parses the numeric input from it,...

View source: R/extract.number.r

extract.numberR Documentation

Takes character string and parses the numeric input from it, if available.

Description

Takes character string and parses the numeric input from it, if available.

Usage

extract.number(x)

Arguments

x

A character or numeric string.

Value

A numeric vector if the input has multiple character blocks.

Notes

If multiple blocks of numeric input exist wthin the input, only the first is parsed

See Also

extract.character

Examples

extract.number("c76")
extract.number("c76c7")
extract.number("BLOQ = 0.144")

qPharmetra/qpToolkit documentation built on May 24, 2023, 8:52 a.m.