Skip to contents

Get labels for columns in a data.table

Usage

getTabColLabels(table)

Arguments

table

Mandatory
The data.table to get column labels for

Value

A named vector with each column/label pair. If a column have no defined label, the label is 'na'

Examples


if (FALSE) {
colLabels = getTabColLabels(controlAnimalsAll)
}