Monthly Archives: July 2010

Excellent R Code Format Package

Excellent R Code Format Package

I have been looking for this type of package for several days, and luckily found it today. Unquestionable R is powerful, however, R programming is unfriendly as far as I concern, mainly due to the lack of format shortcut, which makes the R codes rathe...

Read more »

Happy 4th of July

July 3, 2010
By
Happy 4th of July

library(maps)states <- data.frame(map("state", plot=FALSE))plot(states, type = "l", col = "navy", axes = FALSE, xlab = "", ylab = "")title("Happy 4th of July",  col.main = "red")

Read more »

Europe Data set:> eurodist                 Athens Barcelona…

July 3, 2010
By
Europe
Data set:> eurodist                 Athens Barcelona…

Europe Data set:> eurodist                 Athens Barcelona Brussels Calais Cherbourg Cologne CopenhagenBarcelona         3313                                                   

Read more »

Get up and running with R, Sweave, and LaTex

July 2, 2010
By
Get up and running with R, Sweave, and LaTex

There are a lot of great references on the web on how to levarage LaTeX for reporting and presentations (beamer), but as someone who is completely new to R and reproducible research, I was having a pretty hard time figuring out simply what to do (what tools, where do you edit, etc.). Eclipse as a

Read more »

Visualization of regression coefficients (in R)

July 2, 2010
By
Visualization of regression coefficients (in R)

Update (07.07.10): The function in this post has a more mature version in the “arm” package. See at the end of this post for more details. * * * * Imagine you want to give a presentation or report of your latest findings running some sort of regression analysis. How would you do it? This was exactly the question...

Read more »

The case of the missing zeroes

July 2, 2010
By
The case of the missing zeroes

Political polling is a big industry these days, especially here in the US, and both mainstream news outlets and many of the bigger political blogs commission their own polls to measure (for example) the popularity of a sitting or candidate politician or policy. In the last week though, a very public spat has erupted between the left-leaning political blog...

Read more »

Creating a Presentation with LaTeX Beamer – Getting Started

July 2, 2010
By
Creating a Presentation with LaTeX Beamer – Getting Started

The LaTeX beamer package can be used to create appealing presentations for many applications. A working knowledge of LaTeX is required but once the initial learning curve and transition is made from a visual word processor to a markup based approach the benefits are worth the initial investment of time. Title Pages In a previous post we

Read more »

An experiment in A/B Testing my Résumé

July 1, 2010
By
An experiment in A/B Testing my Résumé

Objective I’ll admit it: my résumé doesn’t stand out. I’ve had some great internships, but also a tendency to work for companies that aren’t (yet!) household names. And though I’m doing fine academically, it’s not well enough to stand out … Continue reading →

Read more »

Maps without map packages

July 1, 2010
By
Maps without map packages

LATITUDE + LONGITUDE + OVERPLOTTING FIX = MAPS Decision Science News is always learning stuff from colleague, physicist, mathlete, and all-around computer whiz Jake Hofman. Today, it was a quick and clean way to make nice maps in R without using any map packages: just plot the latitude and longitude of your data points (e.g.

Read more »

UseR! 2010 registration extended until July 4

July 1, 2010
By

Registration for the worldwide R user conference, useR! 2010, closed on June 20. But it seems like a few folks weren't aware of the early deadline, and missed out on registering. Never fear! Due to overwhelming demand, registration has re-opened until midnight on July 4. You'll need to hurry -- there are only 30 spots left -- so get...

Read more »