2419 search results for "twitteR"

Stratigraphic diagrams using analogue

June 8, 2011
By
Stratigraphic diagrams using analogue

One of the routine tasks palaeoecologists do is plot data on species composition or geochemical proxies say along a sediment core or stratigraphic sequence. These diagrams are the canonical way of displaying stratigraphic data in this field. An example of … Continue reading →

Read more »

Generating unique random IDs

June 7, 2011
By
Generating unique random IDs

Recently I was asked to help create random IDs for someone. At first I thought, ‘Ah yup, 1:x (1,2,3, …,x), job done’. Then I thought that there had to be a R function/package to create better looking IDs, to which I didn’t find one, if there is, please let me know. In the mean time

Read more »

In case you missed it: May Roundup

June 6, 2011
By

In case you missed them, here are some articles from May of particular interest to R users. A review of "R Cookbook", a new how-to book for R programmers. A detailed example of using the RevoScaleR package to analyze a large airline data set. A new guide for R beginners, "How to Learn R", provides links to R resources,...

Read more »

10 R One Liners to Impress Your Friends

June 5, 2011
By

Following the trend of one liners for various languages (Haskell, Scala, Python), here's some examples in RMultiply Each Item in a List by 2#listslapply(list(1:4),function(n){n*2})# otherwise(1:4)*2 Sum a List of Numbers#listslapply(list(1:4),sum)# oth...

Read more »

Always learn and never know

June 3, 2011
By
Always learn and never know

I have been using R for about two years, with no previous coding background. So, I feel like the title says, “always learn and never know”. This time, I decided to use R to study a simple, non-statistical problem that came up some time ago. Suppose the exponential function 2^x and the parabola x^2. One

Read more »

New version of analogue (0.7-0)

June 1, 2011
By
New version of analogue (0.7-0)

Last week I pushed an update of my analogue package to CRAN. The last release (0.6-23) was on CRAN sometime in Mar 2010 so an update was well overdue. This (0.7-0) is a major update to analogue containing lots of … Continue reading →

Read more »

Minor update to Vegan (1.17-10)

June 1, 2011
By
Minor update to Vegan (1.17-10)

I overlooked blogging about this at the time, but Jari released a minor update to our Vegan package to fix a few issues following release of R 2.13-0. As far as the user is concerned, this mainly affects capscale(). metaMDSrotate(), … Continue reading →

Read more »

A dubious statistics

May 31, 2011
By
A dubious statistics

Following a link on R-bloggers, I ended up on this page (with a completely useless graph that only contained the pieces of information 5% in 1900 and 55% in 2000). The author (Ralph Keeney) reports on “A remarkable 55 percent of deaths for people age 15 to 64 can be attributed to decisions with readily

Read more »

sab-R-metrics: GIF Movies and Pitch Flights (Guest Post)

May 31, 2011
By
sab-R-metrics: GIF Movies and Pitch Flights (Guest Post)

A couple weeks ago, I received an email from a fellow Pitch F/Xer and R-User, Josh Weinstock, asking if I was interested in a guest post here at Prince of Slides. I didn't think I was important enough to have talented guests posting at my blog; howeve...

Read more »

Dicetributions – episode I

May 29, 2011
By
Dicetributions – episode I

Suppose the following game with two players: In every round, the two players pick a random number, each. Instead of using a dice, they pick a number from an interval. Player A picks a number from and player B from . Variation 1. The greater number wins. Who is more likely to win? It

Read more »