Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/sortRSiteSearch.R
Sort a data.frame as an RSiteSearch object.
1 | sortRSiteSearch(x, sort.=NULL)
|
x |
a data.frame to sort and convert to an object of class
|
sort. |
sort information as for function |
1. pkgSum <- PackageSummary(x, sort.)
2. Order x as required for RSiteSearch.function
3. class = c("RSiteSearch", "data.frame")
An object of class c('RSiteSearch', 'data.frame') with a "PackageSummary" attribute.
Spencer Graves
RSiteSearch.function
sort
order
1 2 3 4 5 | 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 <- sortRSiteSearch(tstdf)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.