colLabels: Extract column labels as defined in SAS

View source: R/colLabels.R

colLabelsR 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


NMdata documentation built on March 19, 2026, 5:08 p.m.