check_numeric: Check if character vector is a number Regex "looks for...

Description Usage Arguments Value Author(s)

View source: R/check_numeric.R

Description

Check if character vector is a number Regex "looks for decimal numbers, with optional HYPHEN MINUS and optional FULL STOP plus zero or more decimal numbers following."

From https://stackoverflow.com/a/4247184/13945974

Usage

1

Arguments

x

A character vector

Value

A boolean

Author(s)

Shir Dekel


shirdekel/shirthesis documentation built on Dec. 23, 2021, 1:24 a.m.