View source: R/base_icolnames.R
icolnames | R Documentation |
Return colnames in a table with index numbers.
icolnames(df)
df |
A data.frame object. |
A data.table
with the two columns index
and name
is returned.
data("iris")
icolnames(iris)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.