dimension-comparison {crunch}R Documentation

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


[Package crunch version 1.30.4 Index]