Blog Archives

Number Formatting

May 11, 2010
By
Number Formatting

I was discussing some subject with my kids - can't recall if it was in the realm of astronomy, computing, or moder economics. In any case, it involved large numbers. I fired up R to do a quick calculation:> 1000000000 / 1000The resulting answer was ...

Read more »

Putting Text in a Margin

May 10, 2010
By
Putting Text in a Margin

I found text and title early on but was initially confounded when trying to add text outside of an actual chart. As it turns out, I needed to understand a bit about R's concept of margins in a chart> par(oma=c(2,2,2,2))> plot(rnorm)> mtext('The label'...

Read more »

String Concatenation in R

May 10, 2010
By
String Concatenation in R

String concatenation is a rather basic function - but my particular programming reflexes did not help me figure out how to do this in R. I tried the + and & operator, and even the || operator to no avail. Also tried concat() function... no dice. ...

Read more »

Initial Post

May 8, 2010
By
Initial Post

As a web application and database developer who has spent most of my time in the world Java, Ruby, Python and SQL, the R language has some unfamiliar functionality.This blog will be comprised of tips and tricks for making charts with the R language.

Read more »