getDimTypes: Get dimension type

View source: R/cube-dims.R

getDimTypesR Documentation

Get dimension type

Description

This function returns the specific type of each cube dimension. This is useful when cubes contain array variables because it identifies the dimensions of the cube which refer to the different parts of array variable:

  • ca_items: Categorical array items

  • ca_categories: The categories of the categorical array

  • mr_items: Multiple response options or items

  • mr_selections: The selection status for a multiple response variable

  • numarray_items: Numeric array items

Usage

getDimTypes(x)

Arguments

x

a CrunchCube or CubeDims object

Value

a character vector of dimension types, similar to types(), except that the array variable types are more specific.


Crunch-io/rcrunch documentation built on April 1, 2024, 1:14 a.m.