set_dimension_type: Set the dimension type

View source: R/dimension_table_attributes.R

set_dimension_typeR Documentation

Set the dimension type

Description

It allows us to define the type of the dimension.

Usage

set_dimension_type(dimension, type)

## S3 method for class 'dimension_table'
set_dimension_type(dimension, type)

Arguments

dimension

A dimension_table object.

type

A string, type of the dimension.

Details

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.

Value

A dimension_table object.


starschemar documentation built on Nov. 11, 2023, 5:09 p.m.