📄 appendmeta.html
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><title>R: Methods for Function appendMeta in Package ‘tm’</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 appendMeta-methods {tm}"><tr><td>appendMeta-methods {tm}</td><td align="right">R Documentation</td></tr></table>
<h2>Methods for Function appendMeta in Package ‘tm’</h2>
<h3>Description</h3>
<p>
Methods for function <code>appendMeta</code> in package <span class="pkg">tm</span>.
</p>
<h3>Methods</h3>
<dl>
<dt>object = "Corpus", cmeta = NULL, dmeta = NULL</dt><dd>Returns a text
document collection where the <code>cmeta</code> is added to the
<code>CMetaData</code> and <code>dmeta</code> is added to the <code>DMetaData</code>.</dd>
<dt>object = "TextRepository", cmeta = NULL, dmeta = NULL</dt><dd>Returns a text
repository where <code>cmeta</code> is added to the metadata slot of the
<code>object</code> text repository.</dd>
</dl>
<h3>See Also</h3>
<p>
<code><a href="TextDocCol-class.html">DMetaData</a></code>
<code><a href="TextDocCol-class.html">CMetaData</a></code>
<code><a href="TextRepository-class.html">RepoMetaData</a></code>
</p>
<h3>Examples</h3>
<pre>
data("crude")
summary(crude)
CMetaData(crude)
DMetaData(crude)
tdcl <- appendMeta(crude, cmeta = list("changed" = date()), dmeta = list("number" = 1:20))
summary(tdcl)
CMetaData(tdcl)
DMetaData(tdcl)
</pre>
<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 + -