August 2012

200 Countries animation revisited

August 8, 2012 | Robert

Here’s a new animated graph, again made using only stats software – R this time – to recreate Hans Rosling’s famous 200 Countries animation. Have you ever noticed how Prof Rosling had a team of graphics people beavering away in … Continue reading → [Read more...]

Manipulating Data Frames Using sqldf – A Brief Overview

August 8, 2012 | Josh Mills

By Josh MillsIntroductionFor those who are learning R and who may be well-versed in SQL, the sqldf package provides a mechanism to manipulate R data frames using SQL. Even for experienced R programmers, sqldf can be a useful tool for data manipulation. This site provides a useful introduction to SQL. [... [Read more...]

Project Euler — problem 17

August 8, 2012 | Tony

It has been two weeks since my last post on the 16th Euler problem. Now, since I just need a break after supper, I’m coming the 17th problem. If the numbers 1 to 5 are written out in words: one, … Continue reading → [Read more...]

An analysis of the r-help mailing list

August 7, 2012 | David Smith

Even though forums and question-and-answer services like StackOverflow are emerging as the place to find crowdsourced technical help when using software like R, the traditional r-help email list is still going strong. UCLA grad student and R user Richard Kwock presented a poster at last month's JSM conference with an ... [Read more...]

Customizing ggplot graphs

August 7, 2012 | Dan Mirman

There are many things I love about the R package ggplot2. For the most part, they fall into two categories:The "grammar of graphics" approach builds a hierarchical relationship between the data and the graphic, which creates a consistent, int... [Read more...]

48 Industries Since 1963

August 7, 2012 | klr

Please see http://timelyportfolio.blogspot.com/search/label/horizonplot for all horizon plot posts. Once more thanks to Ken French for his data, we can accomplish something I think is fairly amazing.  In 640x800, we can see 250 day rollling return...
[Read more...]

August 6-7 Rainfall on Metro Manila

August 7, 2012 | arsalvacion

Majority of Metro Manila is affected by floods. Looking at the hourly data from PAGASA weather  station located at Bicutan, Taguig, the graph below will gave the viewers of this blog on the rainfall situation in Manila from August 6 (12:00am)-7(11... [Read more...]

Unify R plots with pander

August 7, 2012 | Gergely Daróczi

MotivationR has a great variety of plotting tools (just to mention a few: the base graphics and e.g. lattice and ggplot2 packages building on grid) and most R user has a preference for either of them.I think all of you would agree with me: each package...
[Read more...]

For the Stupid Password Rules at Iowa State

August 7, 2012 | Yihui Xie

The Fall semester is coming, which means it is time to log into several stupid systems to be prepared for the new semester. Time and time again I'm annoyed by the bullshit password rules at Iowa State University. I wrote to the IT staff once but no one... [Read more...]

The New 60/40

August 6, 2012 | systematicinvestor

I want to share a brilliant idea and a great example from the You’re Looking at the Wrong Number post at the GestaltU blog. Today, I will focus on the section of this post that outlines simple steps to improve a typical 60/40 stock/bond portfolio by using risk allocation ... [Read more...]

Careless comparison bites back (again)

August 6, 2012 | Luis

When running stats labs I like to allocate a slightly different subset of data to each student, which acts as an incentive for people to do their own work (rather than copying the same results from a fellow student). We … Continue reading → [Read more...]

Vim-R-plugin: Installation

August 6, 2012 | kariert

On Ubuntu 12.04, I took to the following steps to install Vim-R-plugin: First I had to install timux: sudo apt-get installl tmux Having already installed vim-pathogen, I used git to clone to install vim-r-plugin and vim-screen plugin, which is also … Continue reading → [Read more...]

A bunch of R (and JAGS) scripts

August 6, 2012 | Gianluca Baio

I finally (nearly) got around to prepare the R code to replicate the examples in the book. I divided the examples by chapter and then linked to the R scripts and, for those involving Bayesian analysis, the associated JAGS models.At the moment, the scri... [Read more...]

Predicting the 100m sprint: results

August 6, 2012 | David Smith

Last week, Markus Gesmann used a log-linear model in R to predict the Olympic gold-medal winning 100m sprint time to be 9.68 seconds. The actual time was 9.63 seconds. Not bad! Meanwhile, the New York Times put Usuain Bolt's olympic record in context, comparing him in a virtual race with other gold ... [Read more...]

A heuristic enhancement of optimisation algorithm

August 6, 2012 | vinuct

The majority of the world’s problem deal with directly or indirectly some kind of optimisation. Instance of optimisation of resources or utility function can be seen our daily life. Here I am talking about standard optimisation problem in statistics, maximum … Continue reading →The post A heuristic enhancement of optimisation ... [Read more...]
1 9 10 11 12 13 14

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)