Blog Archives

A nice link: “Some hints for the R beginner”

March 7, 2010
By

Patrick Burns just posted to the mailing list the following massage: There is now a document called “Some hints for the R beginner” whose purpose is to get people up and running with R as quickly as possible. Direct access to it is: http://www.burns-stat.com/pages/Tutor/hints_R_begin.html JRR Tolkien wrote a story (sans hobbits) called ‘Leaf by Niggle’ that has always resonated with me. I...

Read more »

Nutritional supplements efficacy score – Graphing plots of current studies results (using R)

February 25, 2010
By
Nutritional supplements efficacy score – Graphing plots of current studies results (using R)

In this post I showcase a nice bar-plot and a balloon-plot listing recommended Nutritional supplements , according to how much evidence exists for thier benefits, scroll down to see it(and click here for the data behind it) * * * * The gorgeous blog “Information Is Beautiful” recently publish an eye candy post showing a “balloon race” image...

Read more »

Siegel-Tukey: a Non-parametric test for equality in variability (R code)

February 22, 2010
By

Daniel Malter just shared on the R mailing list (link to the thread) his code for performing the Siegel-Tukey (Nonparametric) test for equality in variability. Excited about the find, I contacted Daniel asking if I could republish his code here, and he kindly replied “yes”. From here on I copy his note at full. p.s: (The R function can be downloaded from...

Read more »

Post hoc analysis for Friedman’s Test (R code)

February 22, 2010
By
Post hoc analysis for Friedman’s Test  (R code)

My goal in this post is to give an overview of Friedman’s Test and then offer R code to perform post hoc analysis on Friedman’s Test results. (The R function can be downloaded from here) Preface: What is Friedman’s Test Friedman test is a non-parametric randomized block analysis of variance. Which is to say it is a non-parametric version of...

Read more »

For fun: Correlation of US State with the number of clicks on online banners

February 16, 2010
By
For fun: Correlation of US State with the number of clicks on online banners

“Chitika research” published today a fun small dataset (you can download it from here) in a post titled “The Educated are Harder to Advertise To”. In this post I had three goals in mind: Suggesting another plot instead of the one used in the original post. Emphasizing the “Correlation does not imply causation” rule. Inviting other R lovers (as myself) to find fun...

Read more »

R Web Application – “Hello World” using RApache (~7min video tutorial)

February 16, 2010
By

I just noticed a google buzz from Jeroen ooms, with a Youtube video titled “RApache Hello World + POST arguments + catching errors.” In this ~7 min video tutorial, Jeroen shares with us: How to write ”Hello World” in a website using RApache. How to extract arguments from a form submited by the website visitor (and then inserting it into an “rnorm” function...

Read more »

Highlight the R syntax on your (WordPress) blog using the wp-syntax plugin

February 12, 2010
By
Highlight the R syntax on your (WordPress) blog using the wp-syntax plugin

Download link for WP-Syntax plugin (with GeSHi version 1.0.8.6) In case you have a self hosted Wordpress blog, and you wish to show your R code in it, how would you do it? The simplest solution would be to just paste the code as plain text, which will look like this: x <- rnorm(100, mean = 2, sd = 3) plot(x, xlab =...

Read more »

Barnard’s exact test – a powerful alternative for Fisher’s exact test (implemented in R)

February 7, 2010
By
Barnard’s exact test – a powerful alternative for Fisher’s exact test (implemented in R)

(The R code for Barnard’s exact test is at the end of the article, and you could also just download it from here) About Barnard’s exact test About half a year ago, I was studying various statistical methods to employ on contingency tables. I came across a promising method for 2×2 contingency tables called “Barnard’s exact test“. Barnard’s test is a non-parametric alternative to Fisher’s exact...

Read more »

Web Development with R – an HD video tutorial of Jeroen Ooms talk

February 3, 2010
By

Here is a HD version of a video tutorial on web development with R, a lecture that was given by Jeroen Ooms (the guy who made A web application for R’s ggplot2). This talk was given at the Bay Area UseR Group meeting on R-Powered Web Apps. You can also view the slides for his talk and view (great) examples for: stockplot, lme4, and gpplot2. Thanks...

Read more »

Animation video of rgl in action

December 21, 2009
By

Duncan Murdoch just posted a youtube video presenting an animation clip of a 3d rgl object. Duncan even went further and wrote an explanation on how he made the video: here are the steps I used: 1.  Design a shape to be displayed, and then play with the animation functions to make it change over time.  Use play3d to do

Read more »