Monthly Archives: May 2011

Putting Robust Standard Errors into LaTeX Tables: An Extension of mtable

May 3, 2011
By
Putting Robust Standard Errors into LaTeX Tables: An Extension of mtable

I recently discovered the mtable() command in the memisc library and its use with toLatex() to produce nice summary output for lm and glm objects in a nicely formatted table like this:Once you have your linear model objects, all you need is one command...

Read more »

Fun with twitteR: Osama bin Laden tweets

May 3, 2011
By
Fun with twitteR: Osama bin Laden tweets

I thought it would be fun to play around with the R package twitteR , an R API into Twitter.  I decided to take the most prominent news story of the past few days, Osama bin Laden’s death, to see … Continue reading →

Read more »

Running R on an iPhone/iPad with RStudio

May 3, 2011
By
Running R on an iPhone/iPad with RStudio

This thread has been widely discussed on a lot of forums. To make a long story short, running natively R on an iDevice (meaning iPhone/iPad) is disabled by its OS, unless it is jailbroken. The steps for the installation through Cydia are described in this R wiki, or this post. But there are some limitations,

Read more »

CPI and US 10y Treasury Extreme –> System Idea

May 3, 2011
By
CPI and US 10y Treasury Extreme –> System Idea

When I see extremes, I feel compelled to explore. The US 10y Treasury yield is at an extreme versus the annualized 3 month CPI rate of change. From TimelyPortfolio Of course, I have to try to build a system around the idea.  While this 3 mont...

Read more »

Day #34 Detailing graphs

May 3, 2011
By

Today mostly existed in adding details or changing certain aspects of my graphs. For example, I had to turn around the y-axis on my levelplot, circleplot, … which wasn’t so easy at first. But after a bit of googling I found out I had to rev...

Read more »

Day #32-33 reporting, R and Birt

I’m starting on my real R-Scripts now. We got an assesment for some Reports and they needed my graphs and Veerle’s Reports. So the tasks are: Well distribution plot Quality plate control Surface Plot Heatmap CirclePlot and more to come&#823...

Read more »

To attach() or not attach(): that is the question

May 3, 2011
By
To attach() or not attach(): that is the question

R objects that reside in other R objects can require a lot of typing to access. For example, to refer to a variable x in a dataframe df, one could type df$x. This is no problem when the dataframe and variable names are short, but can become burdensom...

Read more »

Treebase trees from R

May 3, 2011
By
Treebase trees from R

Treebase is a great resource for phylogenetic trees, and has a nice interface for searching for certain types of trees. However, if you want to simply download a lot of trees for analyses (like that in Davies et al.), then you want to be able to access...

Read more »

Kaggle Competition Walkthrough: Introduction

May 3, 2011
By
Kaggle Competition Walkthrough: Introduction

Kaggle is a site for participating in predictive analytics competitions. It is also a great resource for learning how to build powerful predictive models, and the Overfitting competition provides a good introduction to the common tools used by a predic...

Read more »

For happy-R blogging

May 3, 2011
By
For happy-R blogging

You may notice that I don’t have that many posts on my blog, and they are all about R. The paucity of my posts makes me a bit sad, but not much, really… What makes (or better, used to make me) sad is that posts of R code (used to) look awful. However, your code

Read more »