Finding functions in R

When looking for functions whose exact name is unknown

# Functions related to “shrinkage” methods“shrinkage”)

Package sos does a great job in finding functions

shrinkageResults <- findFn("shrinkage", maxPages = 1)
# This opens a webpage in your browser with the results

The table in the webpage created above have sortable columns.

# Sort on creation data of resultant packages
summaryObj <- summary(shrinkageResults)
pkgTable <- summaryObj$PackageSummary
pkgTable <- pkgTable[order(pkgTable$Date,decreasing=T),]

Many more R specific search options here

About indiacrunchin
Any sufficiently advanced technology is indistinguishable from magic -- Arthur C. Clarke

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


Get every new post delivered to your Inbox.

%d bloggers like this: