Learn R Programming

radiant.data (version 1.4.5)

get_class: Get variable class

Description

Get variable class

Usage

get_class(dat)

Value

Vector with class information for each variable

Arguments

dat

Dataset to evaluate

Details

Get variable class information for each column in a data.frame

Examples

Run this code
get_class(mtcars)

Run the code above in your browser using DataLab