is_numeric: This function tests if a vector is of type numeric (numeric...

Description Usage Arguments Value

View source: R/which_type.R

Description

This function tests if a vector is of type numeric (numeric with less unique values than cutoff).

Usage

1
is_numeric(x, numeric_cutoff = -1)

Arguments

x

a vector

numeric_cutoff

the minimum number of distinct values required for a numeric vector not to be coerced to a fator. -1 is the default, meaning no minimum required.

Value

a logical


MathieuMarauri/auditdata documentation built on March 6, 2020, 7:09 p.m.