Learn R Programming

kdry (version 0.0.3)

icolnames: icolnames

Description

Return colnames in a table with index numbers.

Usage

icolnames(df)

Value

A data.table with the two columns index and name is returned.

Arguments

df

A data.frame object.

Examples

Run this code
data("iris")
icolnames(iris)

Run the code above in your browser using DataLab