R cheat sheet

source('file.R') Load R file
dates = as.Date(as.character(L), "%m/%d/%Y") Convert vector of ASCII dates into real ones
str(obj) Show structure of an object
is.na(x) find N/As in data
apply(my_matrix, 1, function(i) { commands; }) Anonymous functions
a <<- b; Force a as a global variable inside the function

Testing Drupal blogging capabilities...

Testing. Testing. 1-2-3. This is a test...

Taking off the wraps.

Yes, this is my new homepage. If you think it's ugly, take a look at my first homepage and your life will never be the same.

Syndicate content