The hierarchy names, ordered coarsest first. The last entry is the atom frame whenever one frame enumerates the atoms; when none does – a Calendar's atoms are combinations of its frames – the key column is the atom level instead.

scale_frames(x, finest = FALSE)

# S3 method for class 'NestedScale'
names(x)

Arguments

x

A NestedScale.

finest

Return only the finest (atom) frame.

Value

A character vector of frame names, or a single name when finest = TRUE.

Examples

s <- scale_example()
scale_frames(s)
#> [1] "sector" "class"  "group"  "unit"  
scale_frames(s, finest = TRUE)
#> [1] "unit"