## Halloween 2011 count

October 31, 2011
By

We don’t get many kids seeking candy at our house. I’m not sure if there just aren’t many kids in the neighborhood, or if it’s our location (next to the pond, with a big gap before the next house). I decided to keep track. As usual, we bought a huge bag of candy, and we

## Japan Quake Map

October 31, 2011
By

Japan Quake Map with R, ggplot2, and FFmpeg   1 Introduction As a follow-up to ‘Analysis of Japanes

## Covered Call ETF Performance

October 31, 2011
By

Covered call ETFs have become quite popular lately. Living in Canada, I have been holding a couple Canadian members of this family for the last few months. When I purchased them, I liked the benefits and since I wasn’t expecting any bull markets on the horizon, I bought some. These were new products back them,

## Putting the R in Hallowe’en

October 31, 2011
By

PhD student Caroline Tucker created a Hallowe'en card using the R graphics system: You can find the R code to create the above image here. Note that you'll need to install the fields and MBA packages first. One interesting aspect of the code is the use of the mba.surf function to create the shading that gives the Jack-o'-lantern its...

## Using Sparse Matrices in R

October 31, 2011
By

Introduction I’ve recently been working with a couple of large, extremely sparse data sets in R. This has pushed me to spend some time trying to master the CRAN packages that support sparse matrices. This post describes three of them: the Matrix, slam and glmnet packages. The first two packages provide data storage classes for

## R 2.14.0 Released

October 31, 2011
By

A Halloween treat for R users! Version 2.14.0 was released today. Among other things there are big improvements for parallel processing. For a quick synopsis of the new "goodies", see the post on the Revolutions blog.© 2011, David E. Giles

## Plotting grouped data vs time with error bars in R

October 31, 2011
By

This is my first blog since joining R-bloggers. I’m quite excited to be part of this group and apologize if I bore any experienced R users with my basic blogs for learning R or offend programmers with my inefficient, sloppy … Continue reading →

## Plotting grouped data vs time with error bars in R

October 31, 2011
By

This is my first blog since joiningR-bloggers. I’m quite excited to be part of this group and apologize if I boreany experienced R users with my basic blogs for learning R or offendprogrammers with my inefficient, sloppy coding. Hopefully writing for...

## useR! 2011 – Jonathan Rougier: Nomograms for visualising relationships between three variables

October 31, 2011
By

useR2011 – Rougier View more presentations from rusersla

## useR! 2011 – Wolfgang Huber: Genomes and phenotypes

October 31, 2011
By

useR2011 – Huber View more presentations from rusersla

## Making R’s paste act more like CONCAT

October 31, 2011
By

While vector-friendly, R's paste function has a few behaviors I don't particularly like. One is using a space as the default separator:> adjectives> paste(adjectives,"er")> paste(adjectives,"er") "lean er" "fast er" "strong er" #d'oh> paste(adjectives,"er",sep="") "leaner" "faster" "stronger"Empty vectors get an undeserved first class treatment: > paste(indelPositions,"i",sep="") "i"> indelPositions> paste(indelPositions,"i",sep="") "5i"...

## useR! 2011 – Brandon Whitcher: Quantitative Medical Image Analysis

October 31, 2011
By

useR2011 – Whitcher View more presentations from rusersla

## R 2.14.0 is released

October 31, 2011
By

As scheduled, the first release of the new R 2.14 series is now available for download in source code form. As of this writing, pre-compiled binaries for Windows, Linux and MacOS aren't yet available, but will appear on your local CRAN mirror in the next couple of days. One of the biggest changes in 2.14 is the introduction of...

## useR! 2011 – Lee E. Edlefsen: Scalable Data Analysis in R

October 31, 2011
By

useR2011 – Edlefsen View more presentations from rusersla

## useR! 2011 – Ulrike Grömping: Design of Experiments

October 31, 2011
By

useR2011 – Gromping View more presentations from rusersla

## Simulation: Efficiency of mean with median Goal: Show the…

October 31, 2011
By

Simulation: Efficiency of mean with median Goal: Show the efficiency of the mean when compared with the median using a large simulation where both estimators are applied on a sample of U(0,1) uniformly distributed random numbers. Input: # Goal: Show...

## Multivariate linear mixed models: livin’ la vida loca

October 31, 2011
By

I swear there was a point in writing an introduction to covariance structures: now we can start joining all sort of analyses using very similar notation. In a previous post I described simple (even simplistic) models for a single response … Continue reading →

## Example 9.12: simpler ways to carry out permutation tests

October 31, 2011
By

In a previous entry, as well as section 2.4.3 of the book, we describe how to carry out a 2 group permutation test in SAS as well as with the coin package in R. We demonstrate with comparing the ages of the female and male subjects in the HELP study.I...

## R 2.14.0 is released!

October 31, 2011
By

The new R 2.14.0 is out! Get the source code from here. Take a look at these posts for some miscellaneous advices to make the upgrade easier. Also this thread on stackoverflow and this post contributed by Tal Galili&nbs...

## Batman Equation Happy Halloween! Plot the Batman logo in…

October 31, 2011
By

Batman Equation Happy Halloween! Plot the Batman logo in CloudStat with the legendary Batman Equation.

## Power Tools for Aspiring Data Journalists: R

October 31, 2011
By

Picking up on Paul Bradshaw’s post A quick exercise for aspiring data journalists which hints at how you can use Google Spreadsheets to grab – and explore – a mortality dataset highlighted by Ben Goldacre in DIY statistical analysis: experience the thrill of touching real data, I thought I’d describe a quick way of analysing

October 31, 2011
By

## Risk parity

October 31, 2011
By

Some thoughts and resources regarding a popular fund management buzzword. The idea Given asset categories (like stocks, bonds and commodities) create a portfolio where each category contributes equally to the portfolio variance. Two operations There are two cases in creating a risk parity portfolio: the universe is the asset categories the universe is the assets … Continue reading...

## Sampling for Monte Carlo simulations with R

October 31, 2011
By
$Sampling for Monte Carlo simulations with R$

I've knocked together a quick function for generating efficient Monte Carlo samples. It takes a bit of the legwork out of running Monte Carlo simulations.

## Using IUCN-Data, ArcMap 9.3 and R to Map Species Diversity

October 31, 2011
By

..I'm overwhelmed by the ever-growing loads of data that's made available via the web. I.e., IUCN collects and hosts spatial species data which is free for download. I'm itching to play with all this data... And, in the end there may arise ...

## Reading Excel data is easy with JGR and XLConnect

October 30, 2011
By

Despite the fact that Excel is the most widespread application for data manipulation and (perhaps) analysis, R's support for the xls and xlsx file formats has left a lot to be desired. Fortunately, the XLConnect package has been created to fill this void, and now JGR 1.7-8 includes integration with XLConnect package to load .xls

## Learning R: Project 1, Part 2

October 30, 2011
By

So it's been a week since I started down this path.  I worked most of this out over last weekend, went to a conference, had hectic week at work, and then realized I lost my work.  Gah.I'll be posting my general thoughts on R later.  Most...