📄 image.html
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><title>R: Visual Inspection of Binary Incidence Matrices</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" type="text/css" href="../../R.css">
</head><body>
<table width="100%" summary="page for image {arules}"><tr><td>image {arules}</td><td align="right">R Documentation</td></tr></table>
<h2>Visual Inspection of Binary Incidence Matrices</h2>
<h3>Description</h3>
<p>
Provides the S4 methods <code>image</code> to generate level plots to visually
inspect binary incidence matrices, i.e., objects based on
<code><a href="itemMatrix-class.html">itemMatrix</a></code> (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).
</p>
<h3>Usage</h3>
<pre>
## S4 method for signature 'itemMatrix':
image(x,
xlab = "Items (Columns)",
ylab = "Elements (Rows)", ...)
## S4 method for signature 'transactions':
image(x, ...)
## S4 method for signature 'tidLists':
image(x,
xlab="Transactions (Columns)",
ylab="Items/itemsets (Rows)", ...)
</pre>
<h3>Arguments</h3>
<table summary="R argblock">
<tr valign="top"><td><code>x</code></td>
<td>
the object (<code>itemMatrix</code>, <code>transactions</code> or
<code>tidLists</code>). </td></tr>
<tr valign="top"><td><code>xlab, ylab</code></td>
<td>
labels for the plot.</td></tr>
<tr valign="top"><td><code>...</code></td>
<td>
further arguments passed on to <code>image</code> in
package <span class="pkg">Matrix</span> which in turn are passed on to
<code>levelplot</code> in <span class="pkg">lattice</span>.</td></tr>
</table>
<h3>See Also</h3>
<p>
<code><a href="../../Matrix/html/dgTMatrix-class.html">image</a></code> (for <code>dgTMatrix</code> in <span class="pkg">Matrix</span>),
<code><a href="../../lattice/html/levelplot.html">levelplot</a></code> (in <span class="pkg">lattice</span>),
<code><a href="itemMatrix-class.html">itemMatrix-class</a></code>,
<code><a href="transactions-class.html">transactions-class</a></code>,
<code><a href="tidLists-class.html">tidLists-class</a></code>
</p>
<h3>Examples</h3>
<pre>
data("Epub")
## in this data set we can see that not all
## items were available from the beginning.
image(Epub[1:1000])
</pre>
<hr><div align="center">[Package <em>arules</em> version 0.6-6 <a href="00Index.html">Index]</a></div>
</body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -