hits {RSiteSearch} | R Documentation |
Returns the hits
attribute of an RSiteSearch
object.
For the output of RSiteSearch.function
, this is the number of
matches for the search term. For an RSiteSearch
object
returned by unionRSiteSearch
or intersectRSiteSearch
,
this is a numeric vector if the hits
attributes of the
arguments to unionRSiteSearch
or intersectRSiteSearch
.
hits(x)
x |
object of class RSiteSearch .
|
attr(x, 'hits')
an integer vector
RSiteSearch.function
unionRSiteSearch
intersectRSiteSearch
des1 <- RSiteSearch.function('differential equations', 1) all.equal(hits(des1), attr(des1, 'hits'))