levels.piar_aggregation_structure: Get the levels for an aggregation structure

View source: R/levels.piar_aggregation_structure.R

levels.piar_aggregation_structureR Documentation

Get the levels for an aggregation structure

Description

Get the hierarchical list of levels for an aggregation structure. It is an error to try and replace these values.

Usage

## S3 method for class 'piar_aggregation_structure'
levels(x)

Arguments

x

A price index aggregation structure, as made by aggregation_structure().

Value

A list of character vectors giving the levels for each position in the aggregation structure.

See Also

Other aggregation structure methods: as.matrix.piar_aggregation_structure(), cut.piar_aggregation_structure(), update.piar_aggregation_structure(), weights.piar_aggregation_structure()


piar documentation built on April 3, 2025, 7:38 p.m.