Skip to contents

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 when
get_level_names(td, selected = FALSE)

Arguments

td

A when object.

selected

A boolean.

Value

A string vector.

Examples


names <- when() |>
  get_level_names()