classdf: classdf

View source: R/classCheck.r

classdfR Documentation

classdf

Description

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

Usage

classdf(data, cols)

Arguments

data

link{data.frame} that is to be inspected.

cols

The columns (named or numeric) to be included in the check.

Details

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

Value

A vector detailing the class of each column.

Author(s)

Jared P. Lander

Examples

classdf(CO2)
classdf(iris)
classdf(mtcars)

useful documentation built on Oct. 24, 2023, 9:07 a.m.