Here is a way to monitor bond return sources in R. In the next iteration, I will use CPI to add history to the series. From TimelyPortfolio So right now, you can expect about a 5% return from bonds. How much of that is real return is u...

(People who aren't interested in automated Markov chain Monte Carlo sampling, or have no idea what it is, should probably stop reading now.)Got an e-mail from a student trying to get the WinBUGS examples in Chapter 7 of the book to work, on MacOS under...

(People who aren't interested in automated Markov chain Monte Carlo sampling, or have no idea what it is, should probably stop reading now.)Got an e-mail from a student trying to get the WinBUGS examples in Chapter 7 of the book to work, on MacOS under...

A listbox is (as far as i thought) supposed to select one or more items in the list and put them in a variable. Well, not for the rgg listbox. Whatever you select, you’ll get an error. ...

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

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...

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 ...

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 ...

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 →

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 CRAN It contains no new code, but smoothes one or two edges in the buil...

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

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,

When Peter Diggle gave his “short history” of spatial statistics this morning (I typed this in the taxi from Charles de Gaulle airport, after waiting one hour for my bag!), he started with a nice slide about Buffon’s needle (and Buffon’s portrait), since Julian Besag was often prone to give this problem as a final

I realized I never announced this on the blog, so without further ado.... Rcpp Workshop in Chicago on April 28, 2011 This year's R/Finance conference will be preceded by a full-day masterclass on Rcpp and related topics which will be held on...

I just uploaded version 1.2.1 of pgfSweave, and I think it is just great! The most notable new feature is the use of the TikZ externalization library list and make feature instead of the pgf \begingraphicnamed functionality. This has some important consequences: PGF 2.10 is required! This has been out for some months now but

A pure maintenance release of RcppGSL---our interface package between R and the GNU GSL using our Rcpp package for seamless R and C++ integration---is now on CRAN It contains no new code, but smoothes one or two edges in the build process and noti...

A recent R-help post asks for examples of Sweave use for web appliations. I think there is very little out there; maybe nothing. Below is a proof of concept for web-based Sweave-ing with rApache. But, it will soon be possible to do this with R's built-in web server. The idea was to treat an Sweave