summary.findFn {sos} | R Documentation |
Summary Method for findFn
Description
Summary Method for objects of class
findFn
Usage
## S3 method for class 'findFn'
summary(object, minPackages = 12,
minCount = NA, ...)
Arguments
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 |
Details
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.
Value
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 |
Author(s)
Spencer Graves
See Also
Examples
z <- try(findFn("spline", maxPages = 2))
if(!inherits(z, 'try-error'))summary(z, 2)