Learn R Programming

predict3d (version 0.1.5)

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

Description

Decide whether a vector can be treated as a numeric variable

Usage

is.mynumeric(x, maxylev = 6)

Arguments

x

A vector

maxylev

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