Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

getDimTypes

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

Crunch.io Data Tools

v1.28.0
LGPL (>= 3)
Authors
Greg Freedman Ellis [aut, cre], Jonathan Keane [aut], Mike Malecki [aut], Neal Richardson [aut], Gordon Shotwell [aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.