get_level_names: Get level names

View source: R/generate.R

get_level_namesR Documentation

Get level names

Description

Returns the names of the levels. We can obtain all the available ones or only the selected ones.

Usage

get_level_names(td, selected)

## S3 method for class 'when'
get_level_names(td, selected = FALSE)

Arguments

td

A when object.

selected

A boolean.

Value

A string vector.

See Also

Other obtaining results: generate_table(), get_level_attribute_names(), get_table_attribute_names(), set_table_attribute_names()

Examples


names <- when() |>
  get_level_names()


when documentation built on May 29, 2024, 5:01 a.m.