coln: Print the order and names of columns in a data frame

Description Usage Arguments Value Author(s) See Also Examples

View source: R/coln.R

Description

Prints the order and names of columns in a data.frame.

Usage

1
coln(X)

Arguments

X

a data.frame for which the column names should be printed.

Value

A list containing the column names and their numeric order.

Author(s)

Mikko Vihtakari

See Also

data.frame, colnames

Examples

1
2
dat <- data.frame(a = 1:10, b = 10:1)
coln(dat)

sclero documentation built on May 2, 2019, 2:26 p.m.