Learn R Programming

explore (version 1.3.4)

get_type: Return type of variable

Description

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

Usage

get_type(var)

Value

Value of typeof or "other"

Arguments

var

A vector (dataframe column)

Examples

Run this code
get_type(iris$Species)

Run the code above in your browser using DataLab