colLabels {NMdata}R Documentation

Extract column labels as defined in SAS

Description

Extract column labels as defined in SAS

Usage

colLabels(x, sort = "alpha", as.fun)

Arguments

x

object with elements containing label attributes.

sort

If sort="alpha", results are sorted alphabetically.

as.fun

The default is to return data as a data.frame. Pass a function in as.fun to convert to something else. If data.tables are wanted, use 'as.fun="data.table"'. The default can be configured using 'NMdataConf()'.

Value

A data.frame with variable and their labels

See Also

compareCols NMinfo


[Package NMdata version 0.2.4 Index]