is_numeric: A more general test of an object being interpretable as...

Description Usage Arguments Examples

Description

A more general test of an object being interpretable as numbers.

Usage

1
is_numeric(x, na = FALSE)

Arguments

x

Character vector of values to parse.

na

Boolean. It determines wether NA is regarded as TRUE/FALSE.

Examples

1
2
x <- c(1, 2, NA, "AAA", "123")
is_numeric(x)

teramonagi/gigamonagi documentation built on May 31, 2019, 8:37 a.m.