Several new AQP-related tutorials have been posted to the R-Forge project page. SoilProfileCollection class/method documentation soil series extent mapping examples

I've said it before: Twitter makes me a lazy blogger. Lots of stuff came across my radar this week that didn't make it into a full blog post. Here's a quick recap:PLOS Computational Biology: Chapter 1: Biomedical Knowledge IntegrationAssuring the quali...

Today a (slightly confused) question on StackOverflow wondered how to access R’s facilities for eigenvalues calculations from C code. For this, we need to step back and consider how this is done. In fact, R farms the calculation out to the BLAS....

The xtable package is tremendously useful for generating LaTeX tables from data frames. It is also pretty easy to customize the output to handle some special cases of LaTeX formatting. The xtable.decimal function will create a LaTeX table where numeric columns will be vertically aligned on the decimal point. In addition to specifying the LaTeX alignment code it...

Yesterday I rolled up a new version (0.10-0) of analogue, my R package for analysing palaeoecological data. It is now available from CRAN. There were lots of incremental changes to Stratiplot() to improve the quality of the stratigraphic diagrams produced and fix several annoying bugs. Also the definition of the standard error of MAT reconstructions was fixed; it...

In a previous post I reviewed my interactions with Python the programming language and the community following the New Years’ Python Meme that’s making the rounds on Twitter and the like. And now, I’m shamelessly stealing it to look at how I used R in 2012. I figure I should probably let the #2012pythonmeme stay Python-only,

(This article was first published on Just Another R Blog, and kindly contributed to R-bloggers) To leave a comment for the author, please follow the link and comment on their blog: Just Another R Blog. R-bloggers.com offers daily e-mail updates about R news and tutorials on topics such as: Data science, Big Data, R jobs, visualization (ggplot2, Boxplots, maps,...

When people try out Julia for the first time, many of them are worried by the following example: 1 2 3 4 5 6 7 julia> factorial(n) = n == 0 ? 1 : n * factorial(n - 1) julia> factorial(20) 2432902008176640000 julia> factorial(21) -4249290049419214848 If you’re not familiar with computer architecture, this

Sean Taylor, a PhD candidate in Information Systems at NYU’s Stern School of Business, describes the "Statistics Software Signal" and his observation that some software packages are correlated with bad science. While, I don't agree with all of his points (some fine analyses have been done with Stata, for example), I thought this was an interesting take on the...

Extending R with C++ code by using Rcpp typically involves function calls by leveraging the existing .Call() interface of the R API. Passing values back and forth is then done in manner similar to programming with functions. However, on occassion it i...

This short demonstration illustrates the use of the DCC model and its methods using the rmgarch package, and in particular an alternative method for 2-stage DCC estimation in the presence of the MVT distribution shape (nuisance) parameter. The theoretical background and representation of the model is detailed in the package’s vignette. The dataset and period

Two days ago i just submitted my first R package: gaoptim. For my surprise, the next day it was already living on CRAN. In this post i want to show you how to use gaoptim to perform a simple function maximization. This same task could be accomplished ...

It's been a while since you last heard from Rapporter, and we came up with a (hopefully) good excuse for our absence from the blogosphere: Rapplications. To demystify: we developed an API that allows you to create dynamic reports by using the R templates and datasets available on Rapporter. All you need is an account on Rapporter (you can...

In his recent post 100 most read R posts for 2012 (stats from R-bloggers) – big data, visualization, data manipulation, and other languages Tal Galili - the guy behind R-Bloggers - presents his wishlist for 2013. Among other things he states &ldquo...

Ringing in the New Year, Peter Dalgaard announced yesterday on behalf of the entire R Core Team that the R language will graduate to Version 3 around April 1. This is only the third time that R has incremented its primary version number. Version 1.0.0 (released on February 29, 2000) was the first version deemed stable for production use....

New year, new resolutions. This year, as a personal challenge, I decided to create a blog where I could share (and also receive) some tricks and tips about R programming language. The main motivation behind this blog is to learn how to use Knitr (http://yihui.name/knitr/). While I'm very concerned about the importance of...

Sean Murphy co-organizes Data Business DC, among many other things. Hadley Wickham, having just taught workshops in DC for RStudio, shared with the DC R Meetup his view on the future, or at least the near future of Data Analysis. … Continue reading → The post The (near) Future of Data Analysis – A Review appeared first on...

The best way for me to achieve deep understanding of a theorem is not through lengthy proofs alone, but through practical application/implementation or as they said in the Marine Corps Pract-App. One of the many reasons I love R is the ease to write functions and test results. The 2008 financial crisis was the topic of a recent dinner

Last year, I spent a morning trying to return to first principles when modeling loss reserves. (Brief aside to non-actuaries: a loss reserve is the financial provision set aside to pay for claims which have either not yet settled, or have not yet been reported. If that doesn’t sound fascinating, this will likely be a

Coursera's free Computing for Data Analysis course starts today. It's a four week long course, requiring about 3-5 hours/week. A bit about the course:In this course you will learn how to program in R and how to use R for effective data analysis. Y...

I’ve made some revisions and simplifications to the code to compile NFL data. It’s now all out on Github for anyone to play with in advance of the Superbowl. In the meantime, here’s a lovely picture comparing every team’s offense- as measured by total offensive yards- against their defenders. Note the anemic Chicago offense. https://github.com/PirateGrunt/NFL

In the past I've used the terms "R library" and "R package" synonymously (e.g. this blog post and this paper), but a careful reader has called me out. Mark Sharp notes that there are differences between libraries and packages. Chapter one of the R Manual Writing R Extensions gives the details: A package is a directory of files which I encourage you...

I really like gists as a quick way to include more lengthly code snippets into my blog posts. However, I am not a git user as such, and so I was quite concerned when I noticed that all my gists on this blog had vanished after Christmas. I suppose this was a result of Github's downtime...

A StackOverflow question asked how convert from arma::umat to arma::mat. The former is format used for find and other logical indexing. For the particular example at hand, a call to the conv_to converter provided the solution. We rewrite the answer he...