Learn R Programming

predict3d (version 0.1.5)

beNumeric: Whether a string vector can be converted to numeric

Description

Whether a string vector can be converted to numeric

Usage

beNumeric(x)

Arguments

x

A string vector

Examples

Run this code
x=c("age","22.5","11/2")
beNumeric(x)

Run the code above in your browser using DataLab