Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Apr 2nd, 2012  |  syntax: R  |  size: 0.31 KB  |  hits: 33  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. read <- read.csv('/Users/francescotangari/Downloads/toProcessSed',header=FALSE,sep=",");
  2.  
  3. matri <- as.matrix(read)
  4.  
  5. nrows <- length(matri[1,])
  6.  
  7. plot(matri[1,], type="o", col=4, ylim=c(0,300),axes=FALSE, ann=FALSE)
  8. j = 4
  9. i = 2
  10. for (i in nrows-1) {
  11.         lines(matri[i,], type="o", pch=22, lty=2, col=j)
  12.         j = j + 4
  13. }