# Monthly Archives: May 2011

## Unused function parameters

May 8, 2011
By

I have started redoing the source code measurements that appear in my C book, this time using a lot more source, upgraded versions of existing tools, plus some new tools such as Coccinelle and R. The intent is to make the code and data available in a form that is easy for others to use

## Charting the Defeat of AV using R (and some ggplot2 and merge operations on top)

May 8, 2011
By

In this post, I’ll be graphing some results from a recent referendum held here in the UK and combining it with the results of a set of local elections that were held at the same time. I’ll give some examples of graphing stuff using ggplot2 and will also show some info regarding merging datasets. At

## quantmod makes it easy to watch silver prices crash in R #rstats

May 7, 2011
By

Jeffrey Ryan's quantmod package makes it simple to download and graph pricing data from a variety of sources. A couple of lines of R is all it takes to see that silver has had a very bad week.

## Slides: “Accessing Databases from R” #rstats

May 7, 2011
By

For the past few meetings of the Greater Boston useR Group, we have been opened with an introductory “useR Vignette” talk on a topic which may be helpful for new R users. This week, I presented an overview of accessing databases from R. Several people have tweeted and blogged nice things about my talk and

May 7, 2011
By

If you’ve listened to the show for a while or if you’ve been reading the paleocave blog from the beginning (like when we actually used to update it regularly), then you might know that I’m rather fascinated with statistics. Imagine my delight a few years ago when I found out that one of the most

## Pair-Trading in R – Update

May 7, 2011
By

I found amazing R package in one of posts on R-bloggers website. It's called RcppAmadillo and you can find more info here. The function I am using from this package is called fastLm. Whereas I am interested in special case of Ax = b problem where A and...

## Corresponding

May 7, 2011
By

(The examples here work with the version of insidefunctor tagged as "v2") Unfortunately I couldn't do this cleanly outside the library. So the changes are made in insidefunctor. Levels are no longer used to "line up" eaches. So, for example, > library(insidefunctor) > %+.% = fmap(+) > %/.% = fmap(/) > x = c(1,...

## Computing Odds Ratios in R

In my last post, I discussed the use of odds ratios to characterize the association between edibility and binary mushroom characteristics for the mushrooms characterized in the UCI mushroom dataset.  I did not, however, describe those co...

May 7, 2011
By