Learn R Programming

inTrees (version 1.3)

getTypeX: get type of each variable

Description

get type of each variable: numeric or categorical

Usage

getTypeX(X)

Arguments

X

Value

A vector indicating each variable's type: numeric: 1; categorical: 2