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)

jaredlander/useful documentation built on Nov. 4, 2023, 10:56 a.m.