get_type: Get type/class of given vector.

View source: R/nearest.R

get_typeR Documentation

Get type/class of given vector.

Description

Get type/class of given vector.

Usage

get_type(x, include_binary = FALSE)

Arguments

x

Input vector.

include_binary

Boolean. Whether binary should be counted separately from categorical.

Value

Type/class of 'x'.


pmlbr documentation built on Sept. 29, 2023, 1:06 a.m.