⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 termdocmatrix-class.html

📁 R-Project是一个开源的统计软件,专门有一个R语言,类似S语言,这个包里面就是一个R实现的文本挖掘(text mining简称tm)的包.里面有代码和样本数据.
💻 HTML
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><title>R: Term-document matrix</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 TermDocMatrix-class {tm}"><tr><td>TermDocMatrix-class {tm}</td><td align="right">R Documentation</td></tr></table>
<h2>Term-document matrix</h2>


<h3>Description</h3>

<p>
A class representing a sparse term-document matrix. A column represents a
term, and a row the ID of a text document, respectively.
</p>


<h3>Objects from the Class</h3>

<p>
Objects can be created by calls of the form
<code>new("TermDocMatrix",...)</code> or by calling the function
<code>TermDocMatrix</code>.
</p>


<h3>Slots</h3>

<dl>
<dt><code>Data</code>:</dt><dd>Object of class <code>Matrix</code> holding the sparse
matrix.</dd>
<dt><code>Weighting</code>:</dt><dd>Object of class <code>character</code> containing
the mode which was applied on the matrix. Possible are term
frequency <code>"tf"</code>, term frequency-inverse document frequency
<code>"tf-idf"</code>, binary <code>"bin"</code> and logical <code>"logical"</code>.</dd>
</dl>

<h3>Methods</h3>

<dl>
<dt>Data</dt><dd><code>signature(object = "TermDocMatrix")</code>: return the
sparse matrix</dd>
<dt>Data&lt;-</dt><dd><code>signature(object = "TermDocMatrix")</code>: sets the
sparse matrix</dd>
<dt>Weighting</dt><dd><code>signature(object = "TermDocMatrix")</code>: returns the
weighting mode</dd>
<dt>Weighting&lt;-</dt><dd><code>signature(object = "TermDocMatrix")</code>: sets the
weighting mode</dd>
</dl>

<h3>Author(s)</h3>

<p>
Ingo Feinerer
</p>


<h3>See Also</h3>

<p>
<code><a href="TermDocMatrix.html">TermDocMatrix</a></code>
</p>



<hr><div align="center">[Package <em>tm</em> version 0.3 <a href="00Index.html">Index]</a></div>

</body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -