Monthly Archives: June 2010

Could we run a statistical analysis on iPhone/iPad using R?

June 8, 2010
By
Could we run a statistical analysis on iPhone/iPad using R?

Imprtent update to the post (17.07.10) I now came across David smith’s post on the REvolution blog, pointing to instruction on the R wiki for how to install R on the iPhone! I didn’t try it myself since it both requires jailbreaking the iPhone, and I don’t have an iPhone. But it is still interesting to know of. Preface...

Read more »

What is R?

June 7, 2010
By

Probably the question I get asked the most about R is, "What is R"? It's can be a hard question to answer, because R is so many things. It's data analysis software. It's an environment for data analysis. It's a language. It's an open-source project. It's a community. The Wikipedia page for R does a great job of describing...

Read more »

Ruby Script to parse ISBNs listed in R-Project to populate an Amazon

June 7, 2010
By
Ruby Script to parse ISBNs listed in  R-Project to populate an Amazon

As you probably figured out, I am an Amazon affiliate and have been giving some thought to how to get the best lists of R books available at Amazon. To get the list of ISBNs from R-Project, the following Ruby script did the trick:require 'rubygems'req...

Read more »

Example 7.40: Nelson-Aalen plotting

June 7, 2010
By
Example 7.40: Nelson-Aalen plotting

In our previous entry, we described how to calculate the Nelson-Aalen estimate of cumulative hazard. In this entry, we display the estimates for the time to linkage to primary care for both the treatment and control groups in the HELP study.RWe use the...

Read more »

An Interest Rate R Package Plan

An Interest Rate R Package Plan

I recently have done some empirical studies on zero-coupon bond modelling and pricing, and plan to create an interest rate R package in order to make it re-usable, as I find there are only two R package on it, one is http://cran.r-project.org/web/pack...

Read more »

Using R for Introductory Statistics 3.2

June 6, 2010
By
Using R for Introductory Statistics 3.2

...continuing my sloth-like progress through John Verzani's Using R for Introductory Statistics. Previous installments: Chapters 1 and 2 and 3.1. Comparing independent samples Boxplots provide a visual comparison between two or more distributions. Fo...

Read more »

Using R for Introductory Statistics 3.2

June 6, 2010
By
Using R for Introductory Statistics 3.2

...continuing my sloth-like progress through John Verzani's Using R for Introductory Statistics. Previous installments: Chapters 1 and 2 and 3.1. Comparing independent samples Boxplots provide a visual comparison between two or more distributions. Fo...

Read more »

biomaRt and GenomeGraphs: a worked example

June 6, 2010
By
biomaRt and GenomeGraphs: a worked example

As promised a few posts ago, another demonstration of the excellent biomaRt package, this time in conjunction with GenomeGraphs. Here’s what we’re going to do: Grab some public microarray data Normalise and get a list of the most differentially-expressed probesets Use biomaRt to fetch the genes associated with those probesets Plot the data using GenomeGraphs

Read more »

General steps to compile JAGS in a Linux based OS system and install rjags in R

June 6, 2010
By

I have an entry here about how to install JAGS and rjags in Fedora.  However, I have exchanged emails with Robert Dorazio and Dr. Martyn Plummer.  Here are the easier steps to compile JAGS and install rjags in R. 1. After you extract the source code...

Read more »

General steps to compile JAGS in a Linux based OS system and install rjags in R

June 6, 2010
By

I have an entry here about how to install JAGS and rjags in Fedora.  However, I have exchanged emails with Robert Dorazio and Dr. Martyn Plummer.  Here are the easier steps to compile JAGS and install rjags in R. 1. After you extract the source code...

Read more »