as.numeric.silent: Silent wrapper for coercing a vector to numeric

Description Usage Arguments Value See Also Examples

Description

Silent wrapper for coercing a vector to numeric

Usage

1
2
## S3 method for class 'silent'
as.numeric(x)

Arguments

x

vector of any type

Value

If as.numeric(x) produces an error or warning, x is returned unchanged. Otherwise, as.numeric(x) is returned.

See Also

as.numeric

Examples

1
2
as.numeric.silent(c("this","that"))
as.numeric.silent(c("2893.9","9423.48"))

PNNL-Comp-Mass-Spec/glmnetGLR documentation built on May 28, 2019, 2:23 p.m.