cn {erpR}R Documentation

display column names

Description

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

Usage

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


data(iris)

cn(iris)



[Package erpR version 0.3.1 Index]