is_type_num: This function checks if a vector x is of numerical. A vector...

Description Usage Arguments Value

View source: R/is_type.R

Description

This function checks if a vector x is of numerical. A vector is considered numerical if it is of type numeric, has more than min_unique unique values (defaults to 15) and is not of class integer64.

Usage

1
is_type_num(x, min_unique = 15)

Arguments

x

a vector

min_unique

the minimal number of unique values for a numeric vector to be describe as a numeric vector and not as a categorical vector. Defaults to 15.

Value

a logical, TRUE if numerical, FAlSE otherwise


MathieuMarauri/explorer documentation built on Jan. 8, 2020, 6:37 p.m.