try_numeric: Try to convert a value to numeric. If unsuccessful, return...

Description Usage Arguments Value

View source: R/utils.R

Description

Try to convert a value to numeric. If unsuccessful, return the original value.

Usage

1

Arguments

x

Vector to be converted

Value

'as.numeric(x)' if successful, or unaltered 'x' if not


ashiklom/fortebaseline documentation built on May 9, 2020, 1:56 a.m.