Category: Uncategorized
rbind or cbind a list of matrices
May 13th, 2009One problem I encounter over and over again in R is that I need to join a list of matrices into one matrix binding them either by columns or rows. This has been a pain in the past, but I just found a very simple solution here. If you have a list of matri… more »
Rotating tick labels in R
March 26th, 2009Rotating the axis tick marks in R is easy! The key is the option las (see help(par) for details).
To have tick marks that are vertically oriented on both axes you use the option las=1.
For example:
x = 1:10
y = x^2
plot(x,y,xlab="My x", yla… more »