Learn R Programming

Tmisc (version 0.1.22)

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)

Arguments

df

A data.frame.

Value

A data.frame with index and class.

Examples

Run this code
# NOT RUN {
nn(iris)

# }

Run the code above in your browser using DataLab