is.number: Determine if a value can be coerced to a numeric type

View source: R/transforms_time.R

is.numberR Documentation

Determine if a value can be coerced to a numeric type

Description

Determine if a value can be coerced to a numeric type

Usage

is.number(x)

Arguments

x

A value to test. May be an vector.

Value

A vector of same size as x or T, if the corresponding value can be coerced, or F.

Examples

is.number(c(NA,"A","12"))

qPharmetra/PMDatR documentation built on April 7, 2024, 5:42 p.m.