Learn R Programming

missRanger (version 2.1.1)

typeof2: A version of typeof internally used by missRanger.

Description

Returns either "numeric" (double or integer), "factor", "character", "logical", "special" (mode numeric, but neither double nor integer) or "" (otherwise). missRanger requires this information to deal with response types not natively supported by ranger.

Usage

typeof2(object)

Arguments

object

Any object.

Value

A string.