Learn R Programming

Tmisc (version 1.0.1)

nn: Get names and class of all columns in a data frame

Description

Get names and class of all columns in a data frame in a friendly format.

Usage

nn(df)

Value

A data.frame with index and class.

Arguments

df

A data.frame.

Author

Stephen Turner

Examples

Run this code
nn(iris)

Run the code above in your browser using DataLab