whichNumeric: Which entries are numeric?

View source: R/whichNumeric.r

whichNumericR Documentation

Which entries are numeric?

Description

Identify which members of a character vector will translate to numeric mode

Usage

whichNumeric(x)

Arguments

x

a vector

Value

position in the character of the elements that have numbers that can be extracted

Examples

test = c("123xyc","A","<LOQ","547.39", "<0.15")
whichNumeric(test)
extract.number(test[whichNumeric(test)])

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