crosstab {GCDkit} | R Documentation |
Prints a cross table (contingency table) for 1-3 labels.
crosstab(plot = TRUE)
plot |
logical; should be also a barplot plotted? |
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.
results |
the frequency/contingency table |
Vojtech Janousek, vojtech.janousek@geology.cz