December 2012

R for Dummies – De Vries and Meys (2012)

December 22, 2012 | bryan

The for Dummies series has been around since 1991. (A bit of trivia, DOS for Dummies was the first title.) I’ve owned a few books in the series and have been adequately impressed with most of them, but when I learned there was an R for Dummies I was immediately ... [Read more...]

Joining 2 R data sets with different column names

December 22, 2012 | Raymond Tse

Joining or merging two data sets is one of the most common tasks in preparing and analysing data. In fact a Google search returns 253 million results. However most examples assume that the columns that you want to merge by have the same names in both data sets which is often ... [Read more...]

Convert OpenStreetMap Objects to KML with R

December 22, 2012 | Kay Cichini

A quick geo-tip:With the osmar and maptools package you can easily pull an OpenStreetMap object and convert it to KML, like below (thanks to adibender helping out on SO). I found the relation ID by googling for it (www.google.at/search?q=openstreetmap+relation+innsbruck).# get OSM datalibrary(... [Read more...]

RcppClassic 0.9.3

December 22, 2012 | Thinking inside the box

Yesterday's release of Rcpp 0.10.2 required a small change to RcppClassic, the package supporting the deprecated older classic Rcpp API defined in the earlier 2005 to 2006 releases. So version 0.9.3 of RcppClassic is now on CRAN. There is no new user... [Read more...]

Visualizing Principal Components

December 22, 2012 | systematicinvestor

Principal Component Analysis (PCA) is a procedure that converts observations into linearly uncorrelated variables called principal components (Wikipedia). The PCA is a useful descriptive tool to examine your data. Today I will show how to find and visualize Principal Components. Let’s look at the components of the Dow Jones ... [Read more...]

Basics of Histograms

December 22, 2012 | Slawa Rokicki

Histograms are used very often in public health to show the distributions of your independent and dependent variables.  Although the basic command for histograms (hist()) in R is simple, getting your histogram to look exactly like you want takes g... [Read more...]

Get the party started

December 22, 2012 | Christoph Molnar

Have you already used trees or random forests to model a relationship of a response and some covariates? Then you might like the condtional trees, which are implemented in the party package.In difference to the CART (Classification and Regression ... [Read more...]

The definitive guide to plotting confidence intervals in R

December 22, 2012 | is.R()

Here at is.R(), we have produced countless posts that feature plots with confidence intervals, but apparently none of those are easy to find with Google. So, today, for the purposes of SEO, we’ve put “plotting confidence intervals” in the title of our post. We also cannot resist an ... [Read more...]

Chocolate and nobel prize – a true story?

December 22, 2012 | Max Gordon

[caption id="attachment_441" align="aligncenter" width="500"] Few of us can resist chocolate, but the real question is: should we even try to resist it? The image is CC by Tasumi1968.[/caption] As a dark chocolate addict I was relieved to see Messerli's ecological study on chocolate consumption and the relation ... [Read more...]

Learn to use R for FREE with Coursera

December 21, 2012 | Pairach

Coursera is offering free courses about R among other interesting subjects. The first one on the application of R in financial econometrics is happening this week (but you can still enroll). There are two more courses starting in January 2013 are more about using R to analyse the data. The differences ... [Read more...]

Rcpp 0.10.2

December 21, 2012 | Thinking inside the box

Relase 0.10.2 of Rcpp provides the second update to the 0.10.* series, and has arrived on CRAN and in Debian. It brings another great set of enhancements and extensions, building on the recent 0.10.0 and 0.10.1 releases. The new Rcpp attributes were rewritten to not require Rcpp modules (as we encountered on issue with ... [Read more...]

R for inquisition

December 21, 2012 | Luis

A post on high-dimensional arrays by @isomorphisms reminded me of APL and, more generally, of matrix languages, which took me back to inquisitive computing: computing not in the sense of software engineering, or databases, or formats, but of learning by poking problems through a computer. I like languages not because ... [Read more...]

A simple web application using Rook

December 21, 2012 | Ben Ogorek

by Ben Ogorek I'm grateful to Rook for helping me, a simple statistician, learn a few fundamentals of web technology. For R web application development, there are increasingly polished methods available (most notably Shiny [1]), but you can build one using Rook, and you might just learn something if you do. ... [Read more...]

Generating a non-homogeneous Poisson process

December 21, 2012 | Freakonometrics

Consider a Poisson process , with non-homogeneous intensity . Here, we consider a deterministic function, not a stochastic intensity. Define the cumulated intensity in the sense that the number of events that occurred between time  and  is a random variable that is Poisson distributed with parameter  . For example, consider here a cyclical ... [Read more...]

Computing an empirical pFDR in R

December 21, 2012 | David Ruau

The positive false discovery rate (pFDR) has become a classical procedure to test for false positive. It is one of my favourite because it rely on a re-sampling approach.I base my implementation on John Storey PNAS paper and the technical report he published with Rob Tibshirani while at Stanford [1... [Read more...]

Beautiful network diagrams with ggplot2

December 21, 2012 | is.R()

I don’t usually like describing my own work as “beautiful,” but with your permission I will make an exception today. There have been some requests for scripts illustrating the plotting of network diagrams with ggplot2, and today (for the winter solstice) we’re bringing you a really nice-looking way ... [Read more...]

Y2K38: Our Own Mayan Calendar…Again

December 21, 2012 | Wesley

It’s not quite the end of the world as we know it.  We made it through December 21, 2012 unscathed. It’s not going to be the last time we will make it through such a pseudo-calamity.  After all we have built our own end of the world before (e.g. ... [Read more...]
1 2 3 4 5 6 16

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)