Monthly Archives: June 2012

Optimal sorting using rpart

June 24, 2012
By
Optimal sorting using rpart

Some time ago I read a nice post Solving easy problems the hard way where linear regression is used to solve an interesting puzzle. Following the idea I used rpart to find optimal decision tree sorting five elements.It is well known that...

Read more »

Querying DBpedia from R

June 24, 2012
By

DBpedia is an extract of structured information from wikipedia. The structured data can be retrieved using an SQL-like query language for RDF called SPARQL. There is already an R package for this kind of queries named SPARQL.There is an S4 class Dbpedia part of my datamart package that aims to support the creation of predefined parameterized queries. Here is...

Read more »

Blog with R Markdown and tumblr: Part I

June 24, 2012
By
Blog with R Markdown and tumblr: Part I

I finally got a chance this weekend to settle on a way to include R Markdown into my blogging process. I needed to do this as my subsequent postings will involve more code chunks regarding Rook deployment and examples, and R Markdown formats and highlights code chunks like a boss! If you want to incorporate R code,...

Read more »

R 2.15.1 Available

June 24, 2012
By

Ubuntu packages for the latest release of R are now available on CRAN and RutteR PPA. If you have either repository installed, Ubuntu should have updated R automatically. If you do not have either repository isnallted, see the Installing R tab above....

Read more »

Highlights of the useR! 2012 – Review of the reviews

June 24, 2012
By
Highlights of the useR! 2012 – Review of the reviews

It’s gutted that I could not attend useR! 2012 after having a great time at useR!2011 at Warwick. However, a great active online community of useRs allows me to get lots of goods stuffs from the conference even though I did not attend physically. By keep following the #useR2012 and #rstats in Twitter and reading some great posts from R-bloggerRs on the

Read more »

Visualization in R with ggplot2 taught by Hadley Wickham at Statistics.com

June 24, 2012
By

Hadley Wickham, the creator of ggplot2, will present his course “Visualization in R with ggplot2,” online at Statistics.com, July 20 – Aug 17. Upcoming “R” courses, and others: Jun 22:  Smoothing with P-splines using R (taught by Brian Manly and Paul Eilers) Jun 29:  Data Mining in R (taught by Luis Torgo) Jul  6:  Intro to Resampling Methods (taught...

Read more »

Mexico City’s Metro Statistics

June 24, 2012
By
Mexico City’s Metro Statistics

I used R and ggplot2 to make a bubble map of Mexico City’s Metro passenger count from January to February 2012. The statistics are stunning, some stations for example Indios Verdes, reached 10 million passengers in jus three months. You can see the code below and get the data for the project here.The post Mexico City’s Metro Statistics...

Read more »

setting your working directory permanently in R

June 24, 2012
By

Most of us R users are using a special working directory for the daily work in R. But I was bothered in typing everytime in my command line prior using R. Also using this line at the first position in scripts was not pleasent enough. So how to get around this? There is a special

Read more »

Using twitteR to see, what german press secretary tweets about

June 24, 2012
By
Using twitteR to see, what german press secretary tweets about

Find the HTML-slides here, and the .Rmd-file that was used to generate here. How to deal with .Rmd-files, see here What this is about These are my first steps to play around with the interface from R to twitter, using the twitteR-package. We will load the latest 1500 (maximum the API allows) tweets from the

Read more »

Actuarial models with R, Meielisalp

June 23, 2012
By
Actuarial models with R, Meielisalp

I will be giving a short course in Switzerland next week, at the 6th R/Rmetrics Meielisalp Workshop & Summer School on Computational Finance and Financial Engineering organized by ETH Zürich, https://www.rmetrics.org/. The long...

Read more »