image: Visual Inspection of Binary Incidence Matrices
Description
Provides the S4 methods image to generate level plots to visually
inspect binary incidence matrices, i.e., objects based on
itemMatrix (e.g., transactions, tidLists, items in
itemsets or rhs/lhs in rules). These plots can be used to identify problems
in a data set (e.g., recording problems with some transactions containing all
items).
Usage
## S3 method for class 'itemMatrix':
image(x,
xlab = "Items (Columns)",
ylab = "Elements (Rows)", ...)
## S3 method for class 'transactions':
image(x, ...)
## S3 method for class 'tidLists':
image(x,
xlab="Transactions (Columns)",
ylab="Items/itemsets (Rows)", ...)
Arguments
x
the object (itemMatrix, transactions or
tidLists).
xlab, ylab
labels for the plot.
...
further arguments passed on to image in
package Matrix which in turn are passed on to
levelplot in lattice.