Where to Start with PDQ?

August 30, 2010
By
Where to Start with PDQ?

Once you've downloaded PDQ with a view to solving your performance-related questions, the next step is getting started using it. Why not have some fun with blocks? Fun-ctional blocks, that is. Since all digital computers and network systems can be considered as a collection of functional blocks and these blocks often contain buffers, their performance can be modeled...

Read more »

Taking R to the Limit: Large Datasets; Predictive modeling with PMML and ADAPA

August 30, 2010
By
Taking R to the Limit: Large Datasets; Predictive modeling with PMML and ADAPA

During the first part of our meeting, Ryan Rosario presented on the topic of large datasets in R. Video, slides and code of the talk “Taking R to the Limit: Large Datasets” by Ryan Rosario at the Los Angeles area … Continue reading →

Read more »

Sweet bar chart o’ mine

August 30, 2010
By
Sweet bar chart o’ mine

Last week I was asked to visualise some heart rate data from an experiment. ... The standard way of displaying a time series (that is, a numeric variable that changes over time) is with a line plot. ... The experimenters, however, wanted a bar chart. I hadn't considered this use of a barchart before, so it was interesting...

Read more »

Example 8.3: pyramid plots

August 30, 2010
By
Example 8.3: pyramid plots

Pyramid plots are a common way to display the distribution of age groups in a human population. The percentages of people within a given age category are arranged in a barplot, often back to back. Such displays can be used distinguish males vs. femal...

Read more »

Wanted: R Analysis of New Scientist Covers

August 30, 2010
By
Wanted: R Analysis of New Scientist Covers

Peter Aldhous and Jim Giles -- from New Scientist's San Francisco bureau -- are looking for a statistician and R user to take part in an interesting data analysis challenge, and also be part of a future article in the magazine. They were inspired by this rather tongue-in-cheek presentation where Sebastian Wernicke analyzed videos, transcripts and ratings of TED...

Read more »

US House Election Results Visualized Five Ways

August 30, 2010
By
US House Election Results Visualized Five Ways

The Democratic major-party vote share of US House elections 2002-2008 visualized 5 different ways.

Read more »

Graphing Highly Skewed Data

August 30, 2010
By
Graphing Highly Skewed Data

Graphing data with a few outliers is challenging, and some solutions are better than others. Here is a comparison of the alternatives.

Read more »

GEO database: curation lagging behind submission?

August 30, 2010
By
GEO database: curation lagging behind submission?

I was reading an old post that describes GEOmetadb, a downloadable database containing metadata from the GEO database. We had a brief discussion in the comments about the growth in GSE records (user-submitted) versus GDS records (curated datasets) over time. Below, some quick and dirty R code to examine the issue, using the Bioconductor GEOmetadb

Read more »

MCMC Diagnostics in R with the coda Package

August 29, 2010
By
MCMC Diagnostics in R with the coda Package

This is a follow up to my recent post introducing the use of JAGS in R through the rjags package. In the comments on that post, Bernd Weiss encouraged me to write a short addendum that describes diagnostic functions that you should use to assess the output from an MCMC sampler. I’ve only been using

Read more »

Beta translation done!

August 29, 2010
By
Beta translation done!

Once my team of four translators had handed back to me all the chapters of the French version of Introducing Monte Carlo Methods with R to me, I had to go over the book to ensure some minimal consistency between the chapters. I started the editing in the plane to Vancouver but did not get

Read more »

SST with Raster. Complete

August 29, 2010
By
SST with Raster. Complete

Update: new zip, correcting bug found by Steve  McIntyre: if(!file.exists(HadSST2ncdf)) downloadHADSST2() if(!file.exists(HadSST2ncdf)) downloadHadSST2() issue pending with another line as well. Checking raster versions. I’ve also, added some code into “downloadHadSST2″ that corrects for the “NA” problem with HadSST. (currently commented out). There is an issue with “ncdf” handling CF standards, which has been addressed in

Read more »

Subset views in R

August 28, 2010
By
Subset views in R

I don’t know how to do this in R. So let me just say why I can’t. I wanted something akin to Boost‘s sub-matrix views, where you can have indexes map back to the original matrix, so you don’t create … Continue reading →

Read more »

Blegging for Data

August 28, 2010
By

I’m in the middle of a new project that involves analyzing the packages that are currently on CRAN. As part of my work, I could really benefit from information about which packages are installed on people’s computers. If you’re willing to part with a bit of your time and privacy, I’d very much appreciate you

Read more »

Patrick Burns is blogging

August 28, 2010
By
Patrick Burns is blogging

Patrick Burns is the author of several helpful R resources, including A Guide for the Unwilling S User, The R Inferno, and S Poetry. He also wrote one of my favorite critiques of Microsoft Excel: Spreadsheet Addiction. His writing is witty, entertain...

Read more »

Mike’s CNC 2010-08-27 18:36:00

August 27, 2010
By

Support the OpenGov idea to create a "Platform for number crunchers across (US Federal) government" HERE. A small team is building a small pilot and I'm happy to report that R appears on many of the posts. If you like the idea (or even if you don't),...

Read more »

Mike’s CNC 2010-08-27 18:36:00

August 27, 2010
By

Support the OpenGov idea to create a "Platform for number crunchers across (US Federal) government" HERE. A small team is building a small pilot and I'm happy to report that R appears on many of the posts. If you like the idea (or even if you don't),...

Read more »

Fractals in R

August 27, 2010
By
Fractals in R

Atte Tenkanen had a blog on fractals using R for a time. Much of his source code is still available online.  To produce his version of the Mandelbrot set:source('http://users.utu.fi/attenka/mandelbrot_set.R')Fractals (such...

Read more »

Fractals in R

August 27, 2010
By
Fractals in R

Atte Tenkanen had a blog on fractals using R for a time. Much of his source code is still available online.  To produce his version of the Mandelbrot set:source('http://users.utu.fi/attenka/mandelbrot_set.R')Fractals (such...

Read more »

Because it’s Friday: How Machines Work

August 27, 2010
By
Because it’s Friday: How Machines Work

Ever wondered how a sewing machine seemingly manages to knot stitches without ever releasing the thread? Well, wonder no more: Find this and other animations of marvels of engineering, including the universal velocity joint and the rotary engine, at the link below. World Of Technology: Complicated Mechanisms Explained in simple animations (via) http://mytechnologyworld9.blogspot.com/2010/08/complicated-mechanisms-explained-in.html

Read more »

Poll: Half of SAS users considering a switch

August 27, 2010
By

A recent poll of KD Nuggets readers suggests that of those using SAS today, almost half (49.6%) are considering switching to a different system for statistical analysis. The poll was prompted by the recent high court decision in the UK, that affirmed that "WPS is lawful clone of SAS system" (as stated in a WPS press release). The exact...

Read more »

Matlab-style multiple assignment in R

August 26, 2010
By
Matlab-style multiple assignment in R

R again! You know how in Matlab you can do? S, I = sort(M) I like that. R generic functions makes this possible. First, let’s genericize assignment. I feel like regular “=” and “<-” oughta stay nongeneric, so let’s make … Continue reading →

Read more »

ProjectTemplate

August 26, 2010
By

Introduction As many people already know, I’ve recently uploaded a new R package called ProjectTemplate to GitHub and CRAN. The ProjectTemplate package provides a function, create.project(), that automatically builds a directory for a new R project with a clean sub-directory structure and automatic data and library loading tools. My hope is that standardized data loading,

Read more »

Oh (de)bugger!

August 26, 2010
By
Oh (de)bugger!

By number of questions asked, R passed MATLAB for the first time on Stack Overflow today. Thus it seems an appropriate time to write my first R-based post. This post concerns what to  do when your R-code goes pear shaped. Back in June there were a couple of very good videos on R debugging that

Read more »

New R User Groups in Seoul, Denver

August 26, 2010
By

We have two new local R user groups to report this week. In Seoul, South Korea R user Chel Hee Lee is the organizer of the GNU R User's Group and Open Statistics Project in Korea. My translate-fu isn't quite up to figuring out when the next meeting is, but you can contact the group organizers here or here....

Read more »

Producing grids of plots in R with ggplot2: A journey of discovery

August 26, 2010
By
Producing grids of plots in R with ggplot2: A journey of discovery

I’ve just gone through a bit of a ‘journey of discovery’ in R while trying to plot a grid of plots for one of the research projects I’m doing. I wanted to write a simple function which could produce this grid of plots from a CSV file, allowing me to easily view the trends of

Read more »

In Search of Power-laws: WikiLeaks Edition

August 26, 2010
By
In Search of Power-laws: WikiLeaks Edition

Yesterday, a commenter reminded me of the very popular hobby among scientists of searching for power-law distributions in large event data. While the commonality of scale invariance in event data is quite well known—particularly with respect to conflict data—this has not prevented many researchers from seeking and finding these patterns in data. As the commenter notes,

Read more »

Mike’s CNC 2010-08-26 06:37:00

August 26, 2010
By

Rweblinks, by Abhijit: http://files.meetup.com/1503964/Rweblinks.html.

Read more »

Mike’s CNC 2010-08-26 06:37:00

August 26, 2010
By

Rweblinks, by Abhijit: http://files.meetup.com/1503964/Rweblinks.html.

Read more »

Louis: A Silent Film with Live Music

August 26, 2010
By

The Chicago Symphony hosted the world premiere of Louis last evening, and I had snatched the (literally) last available ticket. The film, which is written, directed and producted by Dan Pritzker, is based loosely on the early years of Louis Armstro...

Read more »