Learn R Programming

handyplots (version 1.1.3)

colID: Column ID

Description

A quick way to see the name and class of every colum of a data frame

Usage

colID(df)

Arguments

df

A data frame you wish to look at

Value

Returns a data frame where column 1 is the names of the columns of the original data frame, and column 2 is the class of the column of the original data frame.

See Also

data.frame, class, colnames

Examples

Run this code
# NOT RUN {
colID(iris)
# }

Run the code above in your browser using DataLab