classes: Variable classes

View source: R/shortcuts.R

classesR Documentation

Variable classes

Description

Display the class() of each variable in a dataframe.

Usage

classes(df)

Arguments

df

An input dataframe.

Value

A named character vector where names are the column names in df and values are the corresponding class() for each column.


ballardao/abmisc documentation built on March 28, 2022, 6:40 a.m.