is.mynumeric: Decide whether a vector can be treated as a numeric variable

Description Usage Arguments Value Examples

View source: R/is.mynumeric.R

Description

Decide whether a vector can be treated as a numeric variable

Usage

1
is.mynumeric(x, maxy.lev = 5)

Arguments

x

A vector

maxy.lev

An integer indicating the maximum number of unique values of a numeric variable be treated as a categorical variable

Value

logical

Examples

1
2
3
4
x=1:5
is.mynumeric(x)
x=1:13
is.mynumeric(x)

interpretCI documentation built on Jan. 28, 2022, 9:07 a.m.