list

Le Monde puzzle [#738]

September 1, 2011 | xi'an

The Friday puzzle in Le Monde this week is about “friendly perfect squares”, namely perfect squares x2__10 and y2__10 with the same number of digits and such that, when drifting all digits of x2 by the same value a (modulo 10), one recovers y2. For instance, 121 is “friend” with 676. Here is ... [Read more...]

Programming with R – Processing Football League Data Part I

November 23, 2010 | Ralph

In this post we will make use of football results data from the football-data.co.uk website to demonstrate creating functions in R to automate a series of standard operations that would be required for results data from various leagues and divisions. The first step is to consider what control ... [Read more...]

Programming with R – Returning Information as a List

November 1, 2010 | Ralph

In previous posts (here and here) we created a simple function that returns a single numeric value. In some situations it may be more useful to return a more flexible data type, such as a list object, to provide more information about the calculations that have been performed. We can ... [Read more...]

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)