It allows us to define the type of the dimension.
set_dimension_type(dimension, type)# S3 method for dimension_table
set_dimension_type(dimension, type)
A dimension_table
object.
A string, type of the dimension.
A dimension_table
object.
Attributes can be accessed directly but this function has been defined because it is used from other classes and is thus done in a more controlled way.