is_col_classes {tatoo}R Documentation

Check for column classes

Description

Compares the column classes of a data.frame with

Usage

is_col_classes(dat, classes, method = "identical")

Arguments

dat

a data.frame or list

classes

a list of column classes. Its names must match the names of dat exactly (see example)

method

if all, ensure that all columns named in classes are present in dat, if any, ensure that any of the columns named in classes are present in dat, if identical, ensure that the names of dat and classes are identical


[Package tatoo version 1.1.2 Index]