Learn R Programming

tablecompare (version 0.1.1)

contents: Show the contents of a data frame

Description

Show the contents of a data frame

Usage

contents(.data)

Value

A data.table with one row per column in .data and columns "column": The name of the column in .data, "class": the names of classes the column inherits from (as returned by class()), collapsed into a single string.

Arguments

.data

A data frame or data table

Examples

Run this code
contents(ToothGrowth)

Run the code above in your browser using DataLab