R tee-shirt

September 21, 2010
By
R tee-shirt

I gave my introduction to the R course in a crammed amphitheatre of about 200 students today. Had to wear my collectoR teeshirt from Revolution Analytics, even though it only made the kids pay attention for about 30 seconds… The other few “lines” that worked were using the Proctor & Gamble “car 54″ poster and

Read more »

AQP Examples: Profile Visualization

September 20, 2010
By

Two examples of the output from the profile_plot() function, using data from the Sierra Foothill Region, CA. read more

Read more »

Auto-complete for R in EmEditor

September 20, 2010
By
Auto-complete for R in EmEditor

This will work for any language you have a syntax file for, but I'll use R as the example.1. Open an R file, and on the plugins menu, click "Word Complete"2. Type a couple of letters e.g. rn and then press ctrl+space (default word suggest keyboard...

Read more »

Saptarshi Guha on Hadoop, R

September 20, 2010
By

Saptarshi Guha (author of the Rhipe package) joins the likes of Ebay, Yahoo, Twitter and Facebook and as one of just 37 presenters at the Hadoop World conference. (Revolution Analytics is proud to sponsor Saptarshi's presence at this event, which take place in New York on October 12.) He'll be talking about using R and Hadoop to analyze Voice-over-IP...

Read more »

Problems with R

September 20, 2010
By

Struggling for two whole days to do some not-terribly-advanced repeated-measures analysis of variance in R. Probably my worst experience with R so far and really an example of where R could do with some centralisation of effort. I have explored six or seven ways to do more or less the same thing, but each approach

Read more »

Problems with R

September 20, 2010
By

Struggling for two whole days to do some not-terribly-advanced repeated-measures analysis of variance in R. Probably my worst experience with R so far and really an example of where R could do with some centralisation of effort. I have explo...

Read more »

In case you missed it: August Roundup

September 20, 2010
By

In case you missed them, here are some articles from August of particular interest to R users. We noted that R had a key role in the US government's reaction to the BP oil spill, as related by the Statistical Engineering division chief at NIST. We linked to an example of creating an animation in Google Earth based on...

Read more »

Cricket – opinions and facts

September 20, 2010
By
Cricket – opinions and facts

@zxaar's comments in a Cricinfo article prompted this post. He commented that - "He (Miandad) was not great outside of pakistan where he was helped by home umpires. Not a true great. Miadad's case states lie due to favour from umpires."I'm an Indian...

Read more »

R syntax highlighting for bloggers on WordPress.com

September 20, 2010
By
R syntax highlighting for bloggers on WordPress.com

Announcing the ability to highlight R syntax in WordPress.com blogs, thanks to the recent work of Yihui Xie, Yoav Farhi and Andrew Redd.

Read more »

Data Mining in A Nutshell

September 20, 2010
By
Data Mining in A Nutshell

# The following code may look rough, but simply paste into R or# a text editor (especially Notepad++) and it will look# much better.# PROGRAM NAME: MACHINE_LEARNING_R# DATE: 4/19/2010# AUTHOR : MATT BOGARD# PURPOSE: BASIC EXAMPLES OF MACHINE LEAR...

Read more »

How fast is JAGS?

September 20, 2010
By
How fast is JAGS?

The OpenBUGS development team have created some validation code called WinComp that allows the results of OpenBUGS to be compared with WinBUGS 1.4 for all the examples in the OpenBUGS manual.  I have wrapped up this code into an R … Continue reading →

Read more »

R Code Examples

September 19, 2010
By
R Code Examples

Data Mining in a Nutshell 'neuralnet'  neural network estimation and visualizationVisualizing Agricultural Subsidies by KY County R Code For googleVis  Data Visualization

Read more »

R Tutorial Series: Labeling Data Points on a Plot

September 19, 2010
By
R Tutorial Series: Labeling Data Points on a Plot

There are times that labeling a plot's data points can be very useful, such as when conveying information in certain visuals or looking for patterns in our data. Fortunately, labeling the individual data points on a plot is a relatively simple process ...

Read more »

R Tutorial Series: Labeling Data Points on a Plot

September 19, 2010
By
R Tutorial Series: Labeling Data Points on a Plot

There are times that labeling a plot's data points can be very useful, such as when conveying information in certain visuals or looking for patterns in our data. Fortunately, labeling the individual data points on a plot is a relatively simple process ...

Read more »

Why Use ProjectTemplate or Any Other Framework?

September 19, 2010
By

We use frameworks like Ruby on Rails or ProjectTemplate to minimize the time we spend on irrelevant details. By definition, an irrelevant detail isn’t of interest to us. But how can we tell which details are irrelevant? This isn’t a trivial task and it seems to be, on the surface, a profoundly subjective matter. Thankfully,

Read more »

Response Times, The Exponential Distribution and Poisson Processes

September 18, 2010
By
Response Times, The Exponential Distribution and Poisson Processes

I’m currently reading Luce’s “Response Times”. If you don’t know anything about response times, they are very easily defined: a response time is the length of time it takes a person to respond to a simple request, measured from the moment when the request is made to the moment when the person’s response is recorded.

Read more »

Elder Research Two Day Course

September 18, 2010
By

... or what I did on my summer vacation...Just got back from the Elder Research Two Day Course "Tools for Discovering Patterns in Data".  It was a great course that (while not R specific) provides a great overview of Data Mining tools and tec...

Read more »

Elder Research Two Day Course

September 18, 2010
By

... or what I did on my summer vacation...Just got back from the Elder Research Two Day Course "Tools for Discovering Patterns in Data".  It was a great course that (while not R specific) provides a great overview of Data Mining tools and tec...

Read more »

Using R

September 18, 2010
By
Using R

By Matt BogardAbstractR is a statistical programming language with a command line interface that is becoming more and more popular every day. I have used R for data visualization, data mining/machine learning, as well as social network analysis. Initia...

Read more »

Classification Trees

September 18, 2010
By
Classification Trees

Decision trees are applied to situation where data is divided into groups rather than investigating a numerical response and its relationship to a set of descriptor variables. There are various implementations of classification trees in R and the some commonly used functions are rpart and tree. Fast Tube by Casper To illustrate the use of the tree

Read more »

What should we call the stats Q&A site?

September 18, 2010
By
What should we call the stats Q&A site?

The Q&A site at stats.stackexchange.com has been steaming ahead with loads of good questions and answers. We are currently trying to select a name and not many people have voted. Although we have more than 1300 users of the site, less than 40 people have currently voted on the name. There are four days left.

Read more »

A simple Metropolis-Hastings MCMC in R

September 17, 2010
By
A simple Metropolis-Hastings MCMC in R

While there are certainly good software packages out there to do the job for you, notably BUGS or JAGS, it is instructive to program a simple MCMC yourself. In this post, I give an educational example of the Bayesian equivalent of a linear regression, sampled by an MCMC with Metropolis-Hastings steps, based on an earlier…

Read more »

Running R on the iPad

September 17, 2010
By

I'm a hardcore Mac user, so it's annoying to me that we don't yet support Revolution R Enterprise on MacOS X. Believe me, I've argued the point. But MacOS is still a relatively uncommon platform in business, and there's just not the demand yet from customers to justify porting the Revolution R extensions to MacOS X. (Open-source Revolution R...

Read more »

Installing ‘intergraph’ package

September 17, 2010
By
Installing ‘intergraph’ package

After some e-mails I decided to put together a bit more detailed instruction how to install the ‘intergraph’ package together with the namespaced version of the ‘network’ package. See here. There seemed to be some problems with downloading the namespaced ‘network’ from my webstite (thanks Neil!). File permissions were set incorrectly. I fixed that and

Read more »

Physical economy v social economy

September 17, 2010
By
Physical economy v social economy

There’s a hole in the bucket of traditional economics. Homo socialus seems to be on the rise, and homo economicus is getting harder to find. Vulcanism has become evident in the R community over the last several days.  One of the visible eruptions has been over money.  This resulted in a blog post by Tal … Continue reading...

Read more »

Typo in Example 3.6

September 16, 2010
By
Typo in Example 3.6

Edward Kao pointed out the following difficulty about Example 3.6 in Chapter 3 of “Introducing Monte Carlo Methods with R”: I have two questions that have puzzled me for a while. I hope you can shed some lights. They are all about Example 3.6 of your book. 1. On page 74, there is a term

Read more »

Open source and money – why paying R developers might not always help the project

September 16, 2010
By

This post can be summed up by one two sentences: “We can’t buy love.” “Starting to pay for love could make it disappear” while at the same time “We need money to live and love”. These two conflicting forces, with relation to open source, are the topic of this post. This post is directed to the community or R...

Read more »

Complex-valued linear models

September 16, 2010
By
Complex-valued linear models

Someone has probably already written code to do this. But I couldn’t find it in CRAN, so here goes. Oh no lm() won’t take complex numbers! (or rather, it’ll take them, but it’ll discard the imaginary part.) Easy enough fix. … Continue reading →

Read more »

R’s time is now

September 16, 2010
By

Jeff Kelly of Tech Target has just published a feature article about R. While R has been around for almost 20 years now (R&R first started the project in 1993), "its time may have finally come", he says. One thing I really like about the article is how well it highlights R's flexibility and "top-notch" data visualizations. It includes...

Read more »