columns2numeric: Check Whether a Scalar is Convertible to Numeric

View source: R/columns2numeric.R

columns2numericR Documentation

Check Whether a Scalar is Convertible to Numeric

Description

Check Whether a Scalar is Convertible to Numeric

Usage

columns2numeric(x)

Arguments

x

A data.frame.

Value

A data.frame.

See Also

Other logical helpers: get_run_r_tests(), is_batch(), is_cran(), is_false(), is_force(), is_installed(), is_not_false(), is_null_or_true(), is_of_length_zero(), is_r_cmd_check(), is_r_package_installed(), is_running_on_fvafrcu_machines(), is_running_on_gitlab_com(), is_scalar(), is_scalar_convertible2numeric(), is_success(), is_true(), is_version_sufficient(), is_windows()

Other data.frame helpers: powers_of_ten

Examples

df <- data.frame(a = 1:24,
                 b = as.character(1:24),
                 c = paste(" ", 1:24, " "),
                 d = LETTERS[1:24]
                 )
df[2, 2]  <- df[3, 3] <- ""
df[3, 2]  <- df[4, 3] <- " "
columns2numeric(df)

fritools documentation built on Nov. 3, 2026, 5:07 p.m.