Posts Tagged ‘ aggregate() ’

R is the easiest language to speak badly

February 1, 2012
By
R is the easiest language to speak badly

I am amazed by the number of comments I received on my recent blog entry about "by", "apply" and friends. I had started my post by pointing out that R is a language. Well indeed, I have come to the conclusion, that it is a language with lots of irregul...

Read more »

Printing nested tables in R – bridging between the {reshape} and {tables} packages

January 29, 2012
By
Printing nested tables in R – bridging between the {reshape} and {tables} packages

This post shows how to print a prettier nested pivot table, created using the {reshape} package (similar to what you would get with Microsoft Excel), so you could print it either in the R terminal or as a LaTeX table. This task is done by bridging between the cast_df object produced by the {reshape} package,

Read more »

Say it in R with "by", "apply" and friends

January 28, 2012
By
Say it in R with "by", "apply" and friends

Iris versicolor (Source: Wikipedia)R is a language, as Luis Apiolaza pointed out in his recent post. This is absolutely true, and learning a programming language is not much different from learning a foreign language. It takes time and a lot of pr...

Read more »

Use of Classification Trees to Investigate Traits of Invasive Species

September 20, 2011
By
Use of Classification Trees to Investigate Traits of Invasive Species

Which traits make an alien species invasive?Due to what traits an alien species becomes established in a foreign flora?This kind of questions could be analysed by the use of recursive partitioning and classification trees..(the below example also inclu...

Read more »