image

0th

Percentile

Visual Inspection of Binary Incidence Matrices

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).

Keywords
hplot
Usage

# S4 method for itemMatrix
image(x, 
    xlab = "Items (Columns)",
    ylab = "Elements (Rows)", ...)

# S4 method for transactions image(x, xlab = "Items (Columns)", ylab = "Transactions (Rows)", ...)

# S4 method for 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.

See Also

image (for dgTMatrix in Matrix), levelplot (in lattice), itemMatrix-class, transactions-class, tidLists-class

Aliases
  • image
  • image,itemMatrix-method
  • image,transactions-method
  • image,tidLists-method
Examples
# NOT RUN {
data("Epub")

## in this data set we can see that not all
## items were available from the beginning.
image(Epub[1:1000])

# }
Documentation reproduced from package arules, version 1.5-4, License: GPL-3

Community examples

Looks like there are no examples yet.