dt_get_factor_levels: Get factor levels from data.table

View source: R/dt_ops.R

dt_get_factor_levelsR Documentation

Get factor levels from data.table

Description

Get factor levels from data.table

Usage

dt_get_factor_levels(dat)

Arguments

dat

data.table

Note: If dat is not a data.table, it will be converted in place, i.e. the original object will be modified.

Value

Named list of factor levels. Names correspond to column names.


egenn/rtemis documentation built on Oct. 28, 2024, 6:30 a.m.