col_info: Produce an Object Detail Table

Description Usage Arguments Details Value Author(s)

Description

This function will print object details to the console for each column in a data.frame, data.table, or an individual vector.

Usage

1

Arguments

x

A data.frame, data.table, or vector.

Details

Currently, the function will return the mode, storage.mode, and class of an object. It will also specify whether or not the object is a factor.

While the storage.mode and class of an object are often identical, they may not be, e.g. when a vector has been encoded as a factor.

Value

data.frame containing the mode, class, storage.mode, and factor status.

Author(s)

Ryan Kyle, ryan.kyle@mail.mcgill.ca


rpkyle/cscmisc documentation built on May 13, 2019, 12:06 p.m.