string_gently_to_numeric: converts a string to a numeric if it holds a number, but...

View source: R/lib_conversions.R

string_gently_to_numericR Documentation

converts a string to a numeric if it holds a number, but retains the string if not

Description

converts a string to a numeric if it holds a number, but retains the string if not

Usage

string_gently_to_numeric(x)

Arguments

x

string (which is a number preferably)


jorritvm/jrutils documentation built on Feb. 14, 2023, 11:33 p.m.