Learning R via Python…or the other way around (with video!)

January 8, 2010
By

Last night I was one of five speakers at the NYC R Statistical Programming Meetup. The topic last night was dubbed the R Rosetta Stone, and the intent was to show how R as a language translated into several other analytical platforms and programming languages. Other speakers covered MATLAB, SAS, SQL/Postges and Clojure/Incanter—I

Read more »

R Tutorial Series: ANOVA Tables

January 8, 2010
By
R Tutorial Series: ANOVA Tables

The commonly applied analysis of variance procedure, or ANOVA, is a breeze to conduct in R. This tutorial will explore how R can be used to perform ANOVA to analyze a single regression model and to compare multiple models.Tutorial FilesBefore we begin,...

Read more »

Codecogs – Open-Source library of numerical components

January 8, 2010
By

The Codecogs website provides an Open-source library of functions for numerical analysis. One interesting component available on the website is the LaTeX equation editor which can be used to create graphics files of equations to include on webpages. The webpage describe this component as a A web-based LaTeX equation editor that generates graphical images and HTML

Read more »

Review of ‘Computational Statistics: An Introduction to R’ in JSS

January 7, 2010
By

Somehow missed during the the end-of-year switchover was the fact that my review of Guenther Sawitzki's Computational Statistics: An Introduction to R (CRC / Chapman \& Hall, 2009) is now up on the Journal of Statistical Software website.

Read more »

Review of ‘Computational Statistics: An Introduction to R’ in JSS

January 7, 2010
By

Somehow missed during the the end-of-year switchover was the fact that my review of Guenther Sawitzki's Computational Statistics: An Introduction to R (CRC / Chapman \& Hall, 2009) is now up on the Journal of Statistical Software website.

Read more »

Review of ‘Computational Statistics: An Introduction to R’ in JSS

January 7, 2010
By

Somehow missed during the the end-of-year switchover was the fact that my review of Guenther Sawitzki's Computational Statistics: An Introduction to R (CRC / Chapman \& Hall, 2009) is now up on the Journal of Statistical Software website.

Read more »

Data Visualization and R Programming Books (Updated)

January 7, 2010
By

Download "Getting Started with the Social Media Analytics Research Toolkit" (pdf, 1.25 megabytes) Download the Social Media Analytics Research Toolkit Download Code Like A Pirate - The #rstats Appliance from the SUSE Gallery Disclosure As you probably ...

Read more »

Samples per series/dataset in the NCBI GEO database

January 7, 2010
By
Samples per series/dataset in the NCBI GEO database

Andrew asks: I want to get an NCBI GEO report showing the number of samples per series or data set. Short of downloading all of GEO, anyone know how to do this? Is there a table of just metadata hidden somewhere? At work, we joke that GEO is the only database where data goes in,

Read more »

Typos in Chapter 3

January 7, 2010
By
Typos in Chapter 3

Here are two more typos in the exercises of Chapter 3 of “Introducing Monte Carlo Methods with R”. – due to the (later) inclusion of an extra-exercise in the book, the “above exercise” in Exercise 3.5 actually means Exercise 3.3. – in Exercise 3.11, question c, a line got commented by mistake in the LaTeX file and

Read more »

R’s exponential package growth, ctd.

January 7, 2010
By
R’s exponential package growth, ctd.

Reader SK has collected the most recent data on R's package growth, through the latest 2.10 release. The three most recent releases fall slightly below the exponential growth line, which isn't altogether surprising (that's a lot of growth to sustain!). Another interesting thing to look at would be the combined rate of new packages submitted to CRAN and packages...

Read more »

Survey question biases and crowdsourcing

January 7, 2010
By

It's common knowledge that the way you ask a question in a survey can bias the results you get. (It's been a staple of political pollsters since the dawn of time.) But Aaron Shaw from Dolores Labs has used an interesting technique to demonstrate that bias: crowdsourcing. He asked the same question of crowdsourced respondents assigned randomly to one...

Read more »

subsetting a matrix/array in R

January 7, 2010
By

From the R-devel svn log. Nice addition… r50896 | falcon | 2010-01-05 12:05:31 -0800 (Tue, 05 Jan 2010) | 7 lines Changed paths: M /trunk/NEWS M /trunk/src/include/Defn.h M /trunk/src/library/base/man/Extract.Rd M /trunk/src/main/subassign.c M /trunk/src/main/subscript.c M /trunk/src/main/subset.c M /trunk/tests/Makefile.common A /trunk/tests/array-subset.R Allow n-dim arrays to be subsetted by an n-column character matrix The character matrix is converted

Read more »

Scatter plot with 4 axes labels and grid

January 7, 2010
By
Scatter plot with 4 axes labels and grid

Ravi from this post (via Revolutions blog) wanted to check the code that produces the left panel of the Figure 3 from this article taken from the current issue of the R Journal. Below my attempt to reproduce the plot: rv <- seq(1.3, 2.9, .1)...

Read more »

Scatter plot with 4 axes labels and grid

January 7, 2010
By
Scatter plot with 4 axes labels and grid

Ravi from this post (via Revolutions blog) wanted to check the code that produces the left panel of the Figure 3 from this article taken from the current issue of the R Journal. Below my attempt to reproduce the plot: rv <- seq(1.3, 2.9, .1)...

Read more »

R Journal, Volume 1/2, December 2009

January 7, 2010
By

The issue 1/2 of the R Journal has been published. It features an article that I co-authored with Spencer Graves and Sundar Dorai-Raj about the sospackage.

Read more »

3d scatter plot using R

January 6, 2010
By
3d scatter plot using R

The other day I saw a three dimensional scatterplot in Montgomery's Regression book. I wanted to redraw the graph using the provided data. A simple google search revealed that there is a package called scatterplot3d. The scatterplot3d() can be used to draw a 3-dimensional scatter plot. Here is what the steps are: Download and install the package from your nearest...

Read more »

3d scatter plot using R

January 6, 2010
By
3d scatter plot using R

The other day I saw a three dimensional scatterplot in Montgomery's Regression book. I wanted to redraw the graph using the provided data. A simple google search revealed that there is a package called scatterplot3d. The scatterplot3d() can be used to draw a 3-dimensional scatter plot. Here is what the steps are: Download and install the package from your nearest...

Read more »

Programming a custom Backtest Profile in R

January 6, 2010
By
Programming a custom Backtest Profile in R

One of the many issues with systems trading is trying to make sense of the vast amounts of data you accumulate with the backtest of a system. Historical backtesting is the first step in testing your trading idea. If it is a trading idea that ought to w...

Read more »

RInside release 0.2.1

January 6, 2010
By

The shiny new 0.2.1 release of RInside, a set of convenience classes to facilitate embedding of R inside of C++ applications, just went out to CRAN; sources are also at my RInside page This is a maintenance release building on the recent 0.2.0 rel...

Read more »

RInside release 0.2.1

January 6, 2010
By

The shiny new 0.2.1 release of RInside, a set of convenience classes to facilitate embedding of R inside of C++ applications, just went out to CRAN; sources are also at my RInside page This is a maintenance release building on the recent 0.2.0 release...

Read more »

RInside release 0.2.1

January 6, 2010
By

The shiny new 0.2.1 release of RInside, a set of convenience classes to facilitate embedding of R inside of C++ applications, just went out to CRAN; sources are also at my RInside page This is a maintenance release building on the recent 0.2.0 rel...

Read more »

New Features in ggplot2 0.8.5

January 6, 2010
By

Learning R blog details some of the new features in the latest update to ggplot2. The latest version includes functions to make it easier to change axis and legend labels, as well as a function to easily set the limits of the plot display outside the range of the data. Be sure to check back next week - I'm putting...

Read more »

Earthquake maps

January 6, 2010
By
Earthquake maps

There's been a number of earthquakes in the Solomon Islands over the past few days, including one that caused a tsunami to partially destroy the village of Baniata on Rendova, Western Provence. You can see exactly how many earthquakes have occurred the...

Read more »

Earthquake maps

January 6, 2010
By
Earthquake maps

There's been a number of earthquakes in the Solomon Islands over the past few days, including one that caused a tsunami to partially destroy the village of Baniata on Rendova, Western Provence. You can see exactly how many earthquakes have occurred the...

Read more »

New Features in ggplot2 version 0.8.5

January 6, 2010
By
New Features in ggplot2 version 0.8.5

Just before Christmas ggplot2 version 0.8.5 was released, closely following the release of version 0.8.4 a week or so earlier. Whilst both versions included included numerous bugfixes (25 in 0.8.4 and 17 in 0.8.5), the latest version also incorporated some new features. As ggplot2 is all about graphical display, so I went through the list

Read more »

The number of R packages is growing exponentially

January 6, 2010
By
The number of R packages is growing exponentially

The second issue of the R Journal is out now, and in addition to a bevy of contributed articles and some news from the R Core Group on the new help system introduced in R 2.10, there's an invited section called, intriguingly, "The Future of R". In that section John Fox provides an exhaustively researched and insightful review of...

Read more »

R AnalyticFlow

January 6, 2010
By
R AnalyticFlow

R AnalyticFlow is an interesting piece of software. From its web site:"R AnalyticFlow is a software which enables state-of-the-art data analysis by drawing analysis flowcharts. You can effectively share processes of data analysis in collaborative wo...

Read more »

Latin squares design in R

January 6, 2010
By
Latin squares design in R

The Latin square design is used where the researcher desires to control the variation in an experiment that is related to rows and columns in the field.Remember that: * Treatments are assigned at random within rows and columns, with each treatment once per row and once per column. * There are equal numbers...

Read more »

Latin squares design in R

January 6, 2010
By
Latin squares design in R

The Latin square design is used where the researcher desires to control the variation in an experiment that is related to rows and columns in the field.Remember that: * Treatments are assigned at random within rows and columns, with each treatment once per row and once per column. * There are equal numbers...

Read more »