Skip to contents

Return value of typeof, except if variable contains hide, then return "other"

Usage

get_type(var)

Arguments

var

A vector (dataframe column)

Value

Value of typeof or "other"

Examples

get_type(iris$Species)
#> [1] "factor"