R in a nutshell

June 1, 2011
By
R in a nutshell

I got this book as a reference for my work with R and do like it. Just after browsing the chapters I already found some useful hints about loading and manipulating data, e.g., loading of fixed-width data files!

Read more »

Day #54 Major bugfix

It seems that Rserve works in a 1 byte charactersystem. This was giving us strange results. When I read in data from KNIME with strange characters like µ the errors began. Every time I used the character “µ”, my output in Rserve would be:...

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 »

Drawing Grids in R

June 1, 2011
By
Drawing Grids in R

Here's an example of how to draw a grid in R and how to fill it.I did use the grid-package and its functions for displaying species cover values at squares of a recording frame...Read more »

Read more »

Day #54 Major bugfix

June 1, 2011
By

It seems that Rserve works in a 1 byte charactersystem. This was giving us strange results. When I read in data from KNIME with strange characters like µ the errors began. Every time I used the character “µ”, my output in Rserve would be:...

Read more »

Using R in Excel

Got to know a very cool tool to use R in Excel named RExcel, basically it provides an integration solution such that users can get data, run command in Excel the same way as in R, which is presumably good and convenient to present results to your coll...

Read more »

Reduce Memory Use for Large Datasets

One key limiting factor for automated text classification is memory consumption. As you accumulate more news articles, bills, and legal opinions, the term-document matrices used to represent the data grow quickly. RTextTools provides two algorithms, support vector machines and maximum entropy, that can handle large datasets with very little memory. Luckily, these two algorithms tend to be the most...

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 »

New version of analogue (0.7-0)

June 1, 2011
By

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.

Read more »

Minor update to Vegan (1.17-10)

June 1, 2011
By

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(), a helper function for rotating nMDS solutions from function metaMDS() can now handle missing values via argument na.rm =...

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 »

Overoptimizing Chicago Fed

May 31, 2011
By
Overoptimizing Chicago Fed

THIS SHOULD BE OBVIOUS THROUGHOUT THE POST BUT THIS IS NOT INVESTMENT ADVICE.  PLEASE DO NOT FOLLOW THIS SYSTEM AS IT COULD RESULT IN SERIOUS LOSSES. One of the perils of system-building is the tendency to unintentionally overoptimize by playing/r...

Read more »

ARMA Models for Trading, Part IV

May 31, 2011
By
ARMA Models for Trading, Part IV

All posts in this series were combined into a single, extended tutorial and posted on my new blog. The last post promised to show some back testing results for the ARMA techniques. I decided to use the S&P 500 index for this purpose. What really impresses me in the above char it the staggering performance

Read more »

The Netflix Prize, Big Data, SVD and R

May 31, 2011
By

One of the key data analysis tools that the BellKor team used to win the Netflix Prize was the Singular Value Decomposition (SVD) algorithm. As a file on disk, the Neflix Prize data (a matrix of about 480,000 members' ratings for about 18,000 movies) was about 65Gb in size -- too large to be read into the standard in-memory...

Read more »

An unsurprising year

May 31, 2011
By
An unsurprising year

I’ve received one those FW:…:FW emails yesterday with the following text: 2011 is an unusual year. Add the last two digits of your birth year to the age you will turn on your birthday this year and you’ll get 111! … Continue reading →

Read more »

Go Guerrill-R on Your Data

May 31, 2011
By
Go Guerrill-R on Your Data

The Guerrilla Data Analysis Techniques training course (GDAT) will be held during the week of August 8-12 this year. As usual, the focus will be on applying R to your performance and capacity planning data, as well as how to use the PDQ-R modeling too...

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 »

Recreational R: Simulating a Card Trick

May 30, 2011
By
Recreational R: Simulating a Card Trick

In this post, I simulate an interesting card trick, which was described by a friend of mine named Xan. Here's Xan's description of the card trick:I put a deck of cards down face up on the table. Meanwhile you think of a secret number between 1 and 1...

Read more »

Recreational R: Simulating a Card Trick

May 30, 2011
By
Recreational R: Simulating a Card Trick

In this post, I simulate an interesting card trick, which was described by a friend of mine named Xan. Here's Xan's description of the card trick:I put a deck of cards down face up on the table. Meanwhile you think of a secret number between 1 and 1...

Read more »

More St. Louis Fred Fun with National Financial Conditions

May 30, 2011
By
More St. Louis Fred Fun with National Financial Conditions

I owe someone at the Fed a beer for all the recent additions at http://research.stlouisfed.org/fred2/.  I have covered some in Spreads and Stress and Gifts from BAC ML and the Federal Reserve.  The newest addition 8 Chicago Fed Indexes Added ...

Read more »

digest 0.5.0

A new version of the digest package (which generates hash function summaries for arbitrary (and possibly nested) R objects using any of the standard md5, sha-1, sha-256 or crc32 algorithms) is now on CRAN.Thanks to a patch by Mario Frasca, digest ...

Read more »

map.xyz(): interpolation of XYZ data and projection onto a map

May 30, 2011
By
map.xyz(): interpolation of XYZ data and projection onto a map

     I am still struggling to get a grasp of R's mapping capabilities. Part of my frustration lies in the fact that I often work on areas near the poles, which complicates interpolation across the 180 degree line. For smaller areas, interpolati...

Read more »

Legendre & Borcard: Nested ANOVA by Permutation

May 30, 2011
By
Legendre & Borcard: Nested ANOVA by Permutation

..here's a very illustrative R-Script example by Legendre & Borcard showing how a Nested ANOVA can be done by permutation.Read more »

Read more »

Array position to matrix coordinates conversion

May 30, 2011
By
Array position to matrix coordinates conversion

#A function that is sometimes useful in determining the #coordinate(i.e. row and column number) of a matrix position#(and vice-versa). #Either a vector of positions ("pos") #OR a 2 column matrix of matrix coordinates, ("coord", i.e. cbind(row,col)), #A...

Read more »

XLConnect 0.1-4

May 30, 2011
By
XLConnect 0.1-4

Mirai Solutions GmbH (http://www.mirai-solutions.com) is pleased to release XLConnect 0.1-4. In the time since our first release (XLConnect 0.1-3, released on Feb 28, 2011) we received very positive and constructive feedback from the R community which heavily influenced the development … Continue reading →

Read more »

Searching for inaccurate literals in R

May 29, 2011
By
Searching for inaccurate literals in R

In creating the numbers tool I wanted to be able to do two things, 1) obtain information about what source did by matching the numeric literals it contained against a database of ‘interesting’ values (now with over 14,000 entries) and 2) flag possible incorrect numeric literals (e.g., 3.1459265 when 3.14159265 had been intended in core/Helix.cpp

Read more »

R/Finance 2011 Presentations are online

May 29, 2011
By

For those of you who don't subscribe to the R-SIG-Finance mailing list: You really should subscribe ;-)Dirk Eddelbuettel announced the R/Finance 2011 presentations are now available.I've included the entire announcement (with some hyperlinks) below.The organizing committee for the R/Finance 2011 conference is pleased to announce the availability of presentation slides from the 3rd annual R/Finance...

Read more »

R/Finance 2011 Presentations are online

May 29, 2011
By

For those of you who don't subscribe to the R-SIG-Finance mailing list: You really should subscribe ;-)Dirk Eddelbuettel announced the R/Finance 2011 presentations are now available. I've included the entire announcement (with some hyperlinks) below.The organizing committee for the R/Finance 2011 conference is pleased to announce the availability of presentation slides from the 3rd annual R/Finance...

Read more »

googleVis-0.2.4 requires older version of RJSONIO (0.5-0) #rstats

May 29, 2011
By
googleVis-0.2.4 requires older version of RJSONIO (0.5-0) #rstats

Downgrade to RJSONIO 0.5 if you want to be able to set initial states with the current googleVis package. Otherwise, there will be lots of extra backslashes in your JavaScript--and blank pages in your browser.

Read more »