get_dim_info {HARplus}R Documentation

Extract and Organize Dimension Metadata (Internal)

Description

A helper function that extracts and structures dimension-related metadata from a given dimension structure. Used internally in get_var_structure() and compare_var_structure().

Usage

get_dim_info(dim_info)

Arguments

dim_info

A list containing dimension metadata, including:

  • dimension_string: A textual representation of dimensions (e.g., "REG*COMM*YEAR").

  • dimension_names: A character vector of dimension names.

  • dimension_sizes: A numeric vector indicating the size of each dimension.

Details

Value

A structured list containing:

Author(s)

Pattawee Puangchit

See Also

get_var_structure, compare_var_structure


[Package HARplus version 1.0.1 Index]