Monthly Archives: April 2011

Buffon versus Bertrand in R

April 7, 2011
By
Buffon versus Bertrand in R

Following my earlier post on Buffon’s needle and Bertrand’s paradox, above are four outcomes corresponding to four different generations (among many) of the needle locations. The upper right-hand side makes a difference in the number of hits (out of 1000). The R code corresponding to this generation was made in the métro, so do not

Read more »

Revolution R, PMML and ADAPA: Webinar April 13

April 7, 2011
By

If you'd like to learn more about using the PMML package in R to export statistical models, or if you'd just like to learn more about building predictive models in Revolution R and creating predictions (scores) from them in other applications or in the cloud, I'll be co-presenter on a webinar next week that might be of interest. On...

Read more »

Review of ‘R in a Nutshell’ by J Adler now in JSS

April 7, 2011
By

Volume 40 of of the (electronic) Journal of Statistical Software just came out. It contains my short review of Josef Adler's already pretty popular R in a Nutshell from O'Reilly. You can my review as a pdf via this local preprint, or by visiting the ...

Read more »

Review of ‘R in a Nutshell’ by J Adler now in JSS

April 7, 2011
By

Volume 40 of of the (electronic) Journal of Statistical Software just came out. It contains my short review of Josef Adler's already pretty popular R in a Nutshell from O'Reilly. You can my review as a pdf via this local preprint, or by visiting the ...

Read more »

Extra! Extra! Get Your gridExtra!

April 7, 2011
By
Extra! Extra! Get Your gridExtra!

The more I use it, the deeper I fall in love with ggplot2. I know, some of you have heard me kvel about it ad nauseum (oh, yiddish and latin in one sentence – extra points!). But the graphs really look great, and once you wrap your head around a few concepts, it’s surprisingly easy

Read more »

Unable to plot a decent x-Axis in a time series plot using zoo

April 7, 2011
By

I use the R package zoo to plot a yearly time series of weekly averaged data. The problem is that my date variable (m.all$date) contains week numbers and these are plotted as x-Axis. What I would rather like to to … Continue reading →

Read more »

Time horizon in forecasting, and rules of thumb

April 7, 2011
By
Time horizon in forecasting, and rules of thumb

I recently received an email about forecasting and rules of thumb. "Dans la profession se transmet une règle empirique qui voudrait que l'on prenne un historique du double de l'horizon de prévision : 20 ans de données pour une prévision

Read more »

RcppClassic 0.9.1

April 7, 2011
By

Another pure maintenance release, this time of RcppClassic, the package supporting the deprecated older classic Rcpp API defined in the earlier 2005 to 2006 releases, is now on CRANIt contains no new code, but smoothes one or two edges in the buil...

Read more »

Alpha shapes with R and lattice

Alpha shapes with R and lattice

What are the alpha shapes?: “The concept of alpha shapes formalizes the intuitive notion of “shape” for spatial point set data, which occurs frequently in the computational sciences. An alpha shape is a concrete geometric object that is uniquely defined for a particular point set. Alpha shapes are generalizations of the convex hull. Given a

Read more »

Day #18 Error in Knime node R-Plot

Hello again Today I am experiencing something weird. The last days I have been experimenting with the R-scripting nodes from knime and with their templates. But today this happened. The node is executed without errors, but when I try to open the view,

Read more »