crosstable.html
来自「本程序是基于linux系统下c++代码」· HTML 代码 · 共 68 行
HTML
68 行
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><title>R: Cross-tabulate jount occurences across pairs of items</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 crossTable {arules}"><tr><td>crossTable {arules}</td><td align="right">R Documentation</td></tr></table>
<h2>Cross-tabulate jount occurences across pairs of items</h2>
<h3>Description</h3>
<p>
Provides the generic function <code>crossTable</code> and the S4 method to
cross-tabulate jount occurences across pairs of items.
</p>
<h3>Usage</h3>
<pre>
crossTable(x, ...)
</pre>
<h3>Arguments</h3>
<table summary="R argblock">
<tr valign="top"><td><code>x</code></td>
<td>
object to be cross-tabulated
(<code>transactions</code> or <code>itemMatrix</code>).</td></tr>
<tr valign="top"><td><code>...</code></td>
<td>
further arguments (currently unused). </td></tr>
</table>
<h3>Value</h3>
<p>
A symmetric matrix of n time n, where n is the number of items times
in <code>x</code>. The matrix contains the co-occurrence counts between pairs of
items.</p>
<h3>See Also</h3>
<p>
<code><a href="transactions-class.html">transactions-class</a></code>,
<code><a href="itemMatrix-class.html">itemMatrix-class</a></code>.
</p>
<h3>Examples</h3>
<pre>
data("Groceries")
ct <- crossTable(Groceries)
ct[1:5, 1:5]
</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 + =
减小字号Ctrl + -
显示快捷键?