I just stumbled across a really useful infix function in R: %in%. It compares two vectors and returs a logical vector if there is a match or not for its left operand. Let us look at some examples: > 1:10 %in% c(1,3,5,9) TRUE FALSE TRUE...

I just stumbled across a really useful infix function in R: %in%. It compares two vectors and returs a logical vector if there is a match or not for its left operand. Let us look at some examples: > 1:10 %in% c(1,3,5,9) TRUE FALSE TRUE...

This afternoon I went to Max Kuhn’s tutorial on his caret package. caret stands for classification and regression (something beginning with e) trees. It provides a consistent interface to nearly 150 different models in R, in much the same way as the plyr package provides a consistent interface to the apply functions. The basic usage

I’m at user 2013, and this morning I attended Hadley Wickham and Romain Francois’s tutorial on the Rcpp package for calling C++ code from R. I’ve spent the last eight years avoiding C++ afer having nightmares about obscure pointer bugs, so I went into the room slightly skeptical about this package. I think the most

In a recent article at Statistics View, Lillian Pierson describes how the X+1 Origin Digital Marketing Hub helps companies like JP Morgan Chase and Verizon optimize their marketing efforts. Back in 2011, X+1 saw the need to update their analytics platform to deal with increasing data sizes and to serve the increasingly sophisticated needs of their marketing clients: What...

If Big Data was last year's buzzword, Data Science may reach the same level of hype this year. There's no shortage of discussion about the high demand for data scientists, the term's usefulness as a designation, and even declarations of its "sexiness" as a career. And as with many terms that reach a critical mass on social media, data...

R speeds up when the Basic Linear Algebra System (BLAS) it uses is well tuned. The reference BLAS that comes with R and Ubuntu isn’t very fast. On my machine, it takes 9 minutes to run a well known R … Continue reading →

Introduction Continuing my recent series on exploratory data analysis (EDA), today’s post focuses on histograms, which are very useful plots for visualizing the distribution of a data set. I will discuss how histograms are constructed and use histograms to assess the distribution of the “Ozone” data from the built-in “airquality” data set in R. In

Most of time, I don’t need to deal with different encodings at all. When possible, I use ASCII characters. And when there is a little processing in Chinese characters or other Unicode characters, I use .Net languages or JVM languages, in which every string is Unicode and of course when the characters are displayed they are displayed as characters...

(This article was first published on Milano R net, and kindly contributed to R-bloggers) As mentioned in the previous article, a possibility for dealing with some Big Data problems is to integrate R within the Hadoop ecosystem. Therefore, it’s necessary to have a bridge between the two environments. It means that R should be capable of handling data the...

e-mails with the latest R posts.

(You will not see this message again.)