check_single_numeric: check whether an object is a single numeric number

Description Usage Arguments Value Examples

Description

check whether an object is a single numeric number

Usage

1

Arguments

x

the object to be checked

sign

the correct sign: 1 or -1

Value

a boolean, whehter x is a valid numeric.

Examples

1
check_single_numeric(x = nrow(ggplot2::diamonds))

Fan-Yang-Econ/linear.tools_github documentation built on May 6, 2019, 4:34 p.m.