crosstab {GCDkit}R Documentation

Cross table of labels

Description

Prints a cross table (contingency table) for 1-3 labels.

Usage

crosstab(plot = TRUE)

Arguments

plot

logical; should be also a barplot plotted?

Details

This command prints a frequency distribution (for a single label) or a contingency table (for 2-3 labels) useful for inspection of the data structure. Optionally a barplot is plotted (for 1-2 labels).

Just press Enter (enter an empty field), when the desired number of variables is reached.

Value

results

the frequency/contingency table

Author(s)

Vojtech Janousek, vojtech.janousek@geology.cz


[Package GCDkit version 3.00 Index]