Second Milano R net meeting to be held in September 27, 2012

May 7, 2012
By

We are organising the second Milano R net meeting in September 27, 2012.

Read more »

Bivariate linear mixed models using ASReml-R with multiple cores

May 7, 2012
By
Bivariate linear mixed models using ASReml-R with multiple cores

A while ago I wanted to run a quantitative genetic analysis where the performance of genotypes in each site was considered as a different trait. If you think about it, with 70 sites and thousands of genotypes one is trying … Continue reading →

Read more »

PubMed publications in 2011 by 202 world countries: who’s the winner?

May 7, 2012
By
PubMed publications in 2011 by 202 world countries: who’s the winner?

Which country had the most PubMed citations in 2011? To find out I used R statistical software to analyze the affiliation of 986 427 articles.

Read more »

Waterfall charts in style of The Economist with R

May 7, 2012
By
Waterfall charts in style of The Economist with R

Waterfall charts are sometimes quite helpful to illustrate the various moving parts in financial data, in particular where I have positive and negative values like a profit and loss statement (P&L). However, they can be a bit of a pain to produce in Ex...

Read more »

Presentations of the first Milano R net meeting

May 7, 2012
By

Welcome presentation Andrea Spanò, Partner at Quantide (download PDF, 0.2 MB) Past, present and future of R Stefano Iacus, Department of Economics, Business and Statistics, University of Milan and R Development Core Team (download PDF, 7.3 MB) R and Operational … Continue reading →

Read more »

Portfolio diversity

May 7, 2012
By
Portfolio diversity

How many baskets are your eggs in? Meucci diversity Attilio Meucci directly addresses the adage: Don’t put all your eggs in one basket. His idea is to think of your portfolio as a set of  subportfolios that are each uncorrelated with the rest.  If your portfolio can be configured to have a lot of roughly … Continue reading...

Read more »

playitbyr 0.2-1: data through sound, now with layers, facets, and more pleasure

May 6, 2012
By

The recent Sonification Handbook has a chapter devoted to exploratory data analysis using sound. With some help from Sam Ferguson, one of the chapter's authors, I've made it easy to implement those techniques using R with playitbyr.

Read more »

clusterProfiler: an R Package for Comparing Biological Themes Among Gene Clusters

May 6, 2012
By

Increasing quantitative data generated from transcriptomics and proteomics require integrative strategies for analysis. Here, we present an R package, clusterProfiler that automates the process of biological-term classification and the enrichment analysis of gene clusters. The analysis module and visualization module were combined into a reusable workflow. Currently,...

Read more »

ninety two-minute r tutorial videos

May 6, 2012
By

ninety two-minute r tutorial videos now posted.  three hours of ultra-concentrated r.new videos include topics like:setting your preferences (options) (Rprofile.site) random number generation (runif) (rnorm) (set.seed) (rbinom)creating and accessi...

Read more »

Online resources for handling big data and parallel computing in R

May 6, 2012
By
Online resources for handling big data and parallel computing in R

by Yanchang Zhao, RDataMining.com Compared with many other programming languages, such as C/C++ and Java, R is less efficient and consumes much more memory. Fortunately, there are some packages that enables parallel computing in R and also packages for processing … Continue reading →

Read more »

Improving script_001: “Monitor”

May 6, 2012
By
Improving script_001: “Monitor”

After having a look to this video: http://www.screenr.com/UxH8 from rtwotutorials, and reading some tutorials, I decided to modified the script from the previous post: Practicing Script with “ R”: Monitor , in order to make it more r...

Read more »

I’ve Converted to R Full-Time

May 6, 2012
By

It's been over four years that I've been using both R and Stata, but as of last week I've become an R convert. For several years I had conducted statistical analyses in R (since many complex models can only be programmed in R), but I used Stata before ...

Read more »

reshape (from base) Explained: Part II

May 5, 2012
By
reshape (from base) Explained: Part II

Part II Explains More Complex  Wide to Long With base reshape  In part I of this base reshape tutorial we went over the basics of reshaping data with reshape.  We learned two rules that help us to be more efficient … Continue reading →

Read more »

RcppArmadillo 0.3.0.3

Two days ago, Conrad Sanderson released another bug-fix version 3.0.3 for the 3.0.0 branch of his excellent Armadillo C++ template library for linear algebra. The new RcppArmadillo release 0.3.0.3 which contains it appeared on CRAN yesterday. Beside ...

Read more »

Making an Animated Heart GIF in R

May 5, 2012
By

Messing around with animations, I created this toy example to make a growing outline of a heart in R. I have put it up as a gist on GitHub and embedded it below. It uses the animation and the ggplot2 packages--both of which make it incredibly simple to...

Read more »

What’s Up with Albert Pujols?

May 5, 2012
By
What’s Up with Albert Pujols?

After signing a huge deal with the Angels, Pujols has been having a really bad year. He hasn't hit a home run this year, breaking a career long streak. So I thought it would be a good idea to use some statistics to tell how good or bad we think Pujols will actually be this year.Coming into the year,...

Read more »

Visualizing tables in ggplot2

May 5, 2012
By
Visualizing tables in ggplot2

Recently I wanted to recreate  assocplot  using  ggplot2. In the end I propose a simple way to visualize data arranged two-way tables using geom_tile.I used Titanic data set as an example combining age and sex dimensi...

Read more »

Compiling R code, and speed up your computation

May 5, 2012
By

I just ran into this interesting post on the R-bloggers Planet. The described R functionality allows you to compile R code (to byte code) so that it will no longer be interpreted but actually run. That is a performance boost. I guess in due time we will see R use JIT technologies, so that the difference will...

Read more »

Kaplan-Meier Survival plot – with at risk table, by sub groups

May 4, 2012
By
Kaplan-Meier Survival plot – with at risk table, by sub groups

This is a follow on from the previous post, with updated code. There was an argument ‘groups’ in the ggplot(…) line of the code that was working but is now no longer working with the updated version of R/ggplot2 (I … Continue reading →

Read more »

Correlations, dimension, and risk measure

May 4, 2012
By
Correlations, dimension, and risk measure

Yesterday, while I was attending the IFM2 conference, at HEC Montreal, I heard a nice talk about credit risk, and a comparison between contagion (or at least default correlation), for corporate and retail companies (in the US). And it was mentioned...

Read more »

R, now a major programming language, sees a 127% growth in book sales

May 4, 2012
By
R, now a major programming language, sees a 127% growth in book sales

O'Reilly Radar tracks technology adoption via its annual "State of the Computer Book Market" report. In the latest report of 2011 book sales (amongst all publishers), books about R show a 127% increase in 2011 over 2010: As a language specifically for data analysis, R isn't in the same league in raw sales as general-purpose languages like C++ or...

Read more »

Getting R2WinBUGS to talk to WinBUGS 1.4 on Ubuntu 12.04 LTS

May 4, 2012
By

Disclaimer 1: WinBUGS is old and not maintained. There are other packages to use, if you would like to take advantage of more modern developments in MCMC such as: PyMC which transparently implements adaptive Metropolis-Hastings proposals (among other great features), or the LaplacesDemon R package, which … Continue reading →

Read more »

Practicing Script with “ R”: Monitor

May 4, 2012
By
Practicing Script with “ R”: Monitor

These are  samples analyzed by a reference method (column: Protein) and by an analytical method with a certain model (column: IFTpro). The idea is to create a Monitor Report for some basic statistics (RMSEP, Bias, SEP, R,RSQ) to see how ...

Read more »

Zurich, May 2012 – ZurichR Meeting

May 3, 2012
By

(This article was first published on Rmetrics blogs, and kindly contributed to R-bloggers) To leave a comment for the author, please follow the link and comment on his blog: Rmetrics blogs. R-bloggers.com offers daily e-mail updates about R news and tutorials on topics such as: visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web...

Read more »

Ack! Duplicates in the Data!

May 3, 2012
By
Ack!  Duplicates in the Data!

As I mentioned in a previous post, I compiled the data set that I’m currently working on in PostgreSQL.  To get this massive data set, I had to write a query that was massive by dint of the number of … Continue reading →

Read more »

R Tutorials and Learning Materials

May 3, 2012
By

We are getting ready to host an R bootcamp this summer at work and I am looking at building on materials that already exist. I just wanted to list a few here while I figure out the best ways to incorporate them. Video Tutorials:This is a fairly ne...

Read more »

Big Data Analytics with R and Hadoop

May 3, 2012
By

The open-source RHadoop project makes it easier to extract data from Hadoop for analysis with R, and to run R within the nodes of the Hadoop cluster -- essentially, to transform Hadoop into a massively-parallel statistical computing cluster based on R. In yesterday's webinar (the replay of which is embedded below), Data scientist and RHadoop project lead Antonio Piccolboni...

Read more »

what’s wrong with package comment?!

May 3, 2012
By
what’s wrong with package comment?!

I spent most of the Sunday afternoon trying to understand why defining did not have the same effect as writing the line until I found there is a clash due to the comment package… The assuredly simple code produces an error message: This is quite an inconvenience as I need to compile my solution manual

Read more »

RegEx: Named Capture in R

May 3, 2012
By

I consider myself a decent RegEx user.  References to famous quotes about RegEx aside, I find it intuitive, like its speed and that it makes my code simple (more so than the alternative anyhow). Thus, I use RegEx where I can in the growing grab bag of languages I consider myself proficient in: *nix command line / shell scripts Javascript PHP Matlab Python R Now...

Read more »