May 2014

European MEP data, part 3

May 18, 2014 | Wingfeet

As final post on European MEPs voting I wanted to look at the individual MEP. The variables examined are how often present and how often present but not voted. The latter might be a marker of sign in and slope off. The analysis chosen is a hierarchical Bayesian analysis, which ... [Read more...]

RcppArmadillo cheatsheet

May 17, 2014 | Pete

I have been using RcppArmadillo more and more frequently, so thought I would make a cheatsheet/cookbook type reference that translates common R operations into equivalent arma code.I have put them up on a github wiki page here.The functions are al... [Read more...]

Vectorizing IPv4 Address Conversions – Part 2

May 17, 2014 | Bob Rudis (@hrbrmstr)

The previous post looked at using the Vectorize() function to, well, vectorize, our Rcpp IPv4 functions. While this is a completely acceptable practice, we can perform the vectorization 100% in Rcpp/C++. We’ve included both the original Rcpp IPv4 functions and the new Rcpp-vectorized functions together to show the minimal ... [Read more...]

RGolf

May 16, 2014 | Bogumił Kamiński

Its time for some fun today - because its Friday as David Smith says :).There are many code golf sites, even some support R. However, most of them are algorithm oriented. A true RGolf competition should involve transforming a source data frame to some ... [Read more...]

Sample uniformly within a fixed radius.

May 16, 2014 | Forester

I was asked how to do this today and thought that I would share the answer: ## Sample points uniformly within a fixed radiusnrand=1000maxstep=10## Sample data ## NB: To get a truly uniform sample over the circle, you must ## sample the square of the distance and then transform back.tempdat [Read more...]

Validation? Why Bother?

May 16, 2014 | Tal Galili

By Kate Hanley. I may be biased, but I strongly believe that R is one of the best tools out there for performing statistical analyses and related tasks. It is driven by [Read more...]

Design the T-shirt for useR! 2014

May 16, 2014 | David Smith

The official T-shirt for the useR! 2014 R user conference (to be held June 30 - July 3 at UCLA) will be the result of open source contributions and reproducible research. The organizers of the conference are soliciting designs for the official T-shirt — but there's a catch. The image on the front of ... [Read more...]

Scraping XML Tables with R

May 15, 2014 | jgreenb1

A couple of my good friends also recently started a sports analytics blog. We’ve decided to collaborate on a couple of studies revolving around NBA data found at www.basketball-reference.com. This will be the first part of that project! Data scientists need data. … Continue reading → [Read more...]

Race Statistics for Comrades Marathon Novice Runners

May 15, 2014 | andrew

Most novice Comrades Marathon runners finish the race on their first attempt and the majority of them walk (shuffle, crawl?) away with Bronze medals. What is a Novice? To paraphrase the dictionary, a novice is “a person who is new to or inexperienced in the circumstances in which he or ... [Read more...]

R has some sharp corners

May 15, 2014 | John Mount

R is definitely our first choice go-to analysis system. In our opinion you really shouldn’t use something else until you have an articulated reason (be it a need for larger data scale, different programming language, better data source integration, or something else). The advantages of R are numerous: Single ... [Read more...]

The apply command 101

May 15, 2014 | steve

The goal of this blog entry is to introduce basic and essential information about the apply function. Even established R users get confused when considering this family of functions especially when observing how many of the them there are: apply, tapply, lapply, sapply, rapply, eapply, mapply. When I was new ... [Read more...]
1 4 5 6 7 8 12

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)