showTransforms | R Documentation |
showTransforms([variable])
shows a summary of a categorical variable that
has transforms with the transforms calculated and applied. This is useful to
see what kind transforms exist before including the variable in a CrunchCube.
showTransforms(x)
## S4 method for signature 'CategoricalVariable'
showTransforms(x)
## S4 method for signature 'CrunchCube'
showTransforms(x)
x |
a Categorical variable or CrunchCube |
showTransforms([CrunchCube])
shows the CrunchCube with all transforms
calculated and applied. This is the default display method for cubes, so
should not be frequently needed.
In both cases, an array is returned that includes the values of both the underlying data (either category counts or CrunchCube cell values) as well as the transformations applied.
summary of the variable, or the full CrunchCube with transforms applied
## Not run:
showTransforms(ds$variable)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.