charToNumeric: Convert text to numeric data

View source: R/chartutils.R

charToNumericR Documentation

Convert text to numeric data

Description

This differs from as.numeric in that it returns NULL instead of NA if there is no valid output. Also performs basic substitution such as removing spaces and commas.

Usage

charToNumeric(x)

Arguments

x

The text to be converted to numbers


Displayr/flipStandardCharts documentation built on June 2, 2025, 12:45 p.m.