hits(sos)
hits()所属R语言包:sos
matches attribute of a findFn object
匹配属性的findFn对象
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Returns the matches attribute of a findFn object. For the output of findFn, this is the number of matches for the search term. For a findFn object returned by unionFindFn or intersectFindFn, this is a numeric vector if the matches attributes of the arguments to unionFindFn or intersectFindFn.
返回matches的一个findFn对象的属性。对于的输出findFn,这是相匹配的搜索字词的数量。对于一个findFnunionFindFn或intersectFindFn返回的对象,这是一个数值向量的matches属性的参数unionFindFn或intersectFindFn的。
用法----------Usage----------
matches(x)
hits(x)
参数----------Arguments----------
参数:x
object of class findFn.
对象类findFn。
Details
详细信息----------Details----------
nrow(x) attr(x, 'matches')
NROW(X)ATTR(X,匹配)
值----------Value----------
a list with components nrows and matches
的列表组件nrows和matches,
(作者)----------Author(s)----------
Spencer Graves
参见----------See Also----------
findFn unionFindFn intersectFindFn
findFnunionFindFnintersectFindFn
实例----------Examples----------
des1 <- findFn('differential equations', 1)
des1. <- matches(des1)
des. <- list(nrow=nrow(des1), matches=attr(des1, 'matches'))
all.equal(des1., des.)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|