as_numeric_parse {BiostatsUHNplus}R Documentation

Modification of the as.numeric function that prints entries that fail to parse as a message

Description

Modification of the as.numeric function that prints entries that fail to parse as a message

Usage

as_numeric_parse(x)

Arguments

x

string or vector to coerce to numeric

Value

No return value, called for side effects

Examples

z <- as_numeric_parse(c(1:5, "String1",6:10,"String2"))
z

[Package BiostatsUHNplus version 0.0.9 Index]