chunksAdd(SoDA)
chunksAdd()所属R语言包:SoDA
Manage counts of text chunks
管理计数的文本块
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Perl subroutines are used to add and delete chunks of text to tables of their counts.
Perl子程序是用来添加和删除的文本块表的计数。
用法----------Usage----------
chunksAdd(table, data, convert)
chunksDrop(table, data, convert)
参数----------Arguments----------
参数:table
A proxy reference to a Perl hash containing counts, as returned from a previous call to chunksAdd() or chunksDrop(). On the initial call to chunksAdd() , this argument will be omitted, and initialized as an empty table.
一个代理一个Perl的哈希计数,从上一次调用返回chunksAdd()或chunksDrop()。在的初始调用chunksAdd(),这种说法将被省略,初始化为空表。
参数:data
A vector of items to be added or dropped from the counts in the table. Typically a character vector but any mix of scalar items can be supplied.
从计数表中的一种向量,要添加或删除的项目。通常情况下,字符向量,但标项目的任何组合都可以提供。
参数:convert
Should the result be returned as a proxy reference to the table (a Perl hash), or converted to a named vector in R? By default, the table is converted if the data argument is omitted or of zero length.
的结果应该返回一个代理引用的表(一个Perl哈希),或转换到指定的向量在R?默认情况下,如果data参数被省略或零长度的转换表。
值----------Value----------
A proxy reference to a Perl hash, if convert is FALSE; otherwise a named vector (the conversion is done by the Perl interface in package RSPerl, and will be a named vector of counts.
受委代表一个Perl的哈希,convert如果是FALSE,否则将向量(Perl接口的转换是通过在包RSPerl,将命名为向量的计数。
(作者)----------Author(s)----------
John M. Chambers <jmc@r-project.org>
参考文献----------References----------
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|