as_numeric_parse: Modification of the as.numeric function that prints entries...

View source: R/as_numeric_parse.R

as_numeric_parseR 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

BiostatsUHNplus documentation built on Sept. 10, 2025, 5:08 p.m.