sortFindFn {sos} | R Documentation |
Sort a findFn Object
Description
Sort a data.frame
as a
findFn
object.
Usage
sortFindFn(x, sortby=NULL)
Arguments
x |
a |
sortby |
sort information as for function
|
Details
1. pkgSum <- PackageSummary(x, sortby)
2. Order x
as required for findFn
3. class = c("findFn", "data.frame")
Value
An object of class
c('findFn', 'data.frame')
with a
"PackageSummary"
attribute.
Author(s)
Spencer Graves
See Also
Examples
tstdf <- data.frame(Package=letters[c(1,1,2)],
Function=c('a1', 'a2', 'b3'), Score=2:4,
Date=11:13, Description=c('D1', 'D2', 'D3'),
Link=c('L1', 'L2', 'L3'), stringsAsFactors=FALSE)
rss <- sortFindFn(tstdf)
[Package sos version 2.1-8 Index]