try_numeric: Try to convert a value to numeric, and if it throws a...

Description Usage Arguments Value Author(s)

View source: R/read_ini.R

Description

Try to convert a value to numeric, and if it throws a warning, return the original value.

Usage

1

Arguments

x

Value to be converted to numeric

Value

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

Author(s)

Alexey Shiklomanov


JGCRI/hectortools documentation built on March 31, 2020, 4:44 p.m.