sortRSiteSearch: Sort an RSiteSearch Object

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/sortRSiteSearch.R

Description

Sort a data.frame as an RSiteSearch object.

Usage

1

Arguments

x

a data.frame to sort and convert to an object of class RSiteSearch (if it does not alreay have this class).

sort.

sort information as for function RSiteSearch.function.

Details

1. pkgSum <- PackageSummary(x, sort.)

2. Order x as required for RSiteSearch.function

3. class = c("RSiteSearch", "data.frame")

Value

An object of class c('RSiteSearch', 'data.frame') with a "PackageSummary" attribute.

Author(s)

Spencer Graves

See Also

RSiteSearch.function sort order

Examples

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)

RSiteSearch documentation built on May 31, 2017, 3:47 a.m.