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

dimension-comparison

Column and row comparison


Description

Comparing a column or row with a baseline column or row. This calculates the z-score for the cells when comparing x to the baseline columns

Usage

compareCols(cube, ...)

compareRows(cube, ...)

compareDims(cube, dim = c("cols", "rows"), baseline, x)

Arguments

cube

a cube to calculate the comparison on

...

arguments passed from compareRows() or compareCols() to compareDims() (i.e. baseline and x)

dim

which dimension is being compared (rows or cols, only valid for compareDims())

baseline

a character, the column to use as a baseline to compare x against

x

a character, the column to compare against the baseline

Value

the z-score for the column or row given in x


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.