View source: R/summary.findFn.R
summary.findFn | R Documentation |
Summary Method for objects of class
findFn
## S3 method for class 'findFn'
summary(object, minPackages = 12,
minCount = NA, ...)
object |
An object of class |
minPackages |
the minimum number of packages to include in the summary. Other packages with the same count will also appear in the summary, but packages with a smaller count will not. The number of packages displayed will be less
than |
minCount |
the minimum count for a package to display.
|
... |
ignored |
Return an object of class
c('summary.findFn', 'list')
with
summary information on only packages satisfying
the minPackages
and minCount
criteria. The minPackages
and
minCount
components of the summary
output list will be adjusted as necessary to
match characteristics of object
. The
print
method for a summary.findFn
object will display the minCount
, but
minPackages
will be a component of the
returned object without being printed.
An object of class
c('summary.findFn', 'list')
with the
following elements:
PackageSummary |
a data.frame with one row for each package and
columns |
minPackages, minCount |
the |
matches |
the total number of matches returned by
|
nrow |
the number of matches in this |
nPackages |
the number of packages in this |
call |
the matched call to |
Spencer Graves
findFn
,
RSiteSearch
z <- try(findFn("spline", maxPages = 2))
if(!inherits(z, 'try-error'))summary(z, 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.