cn: display column names

Description Usage Arguments Value Note Author(s) Examples

View source: R/cn.R

Description

Return the column names of a data.frame or a matrix in one-column format for an easy visual inspection.

Usage

1
cn(x)

Arguments

x

a data.frame or a matrix with column names.

Value

A one-column matrix with the column names of x.

Note

This function comes from an idea by Antoine Tremblay.

Author(s)

Giorgio Arcara

Examples

1
2
3

erpR documentation built on May 2, 2019, 3:33 p.m.