search for: simu4

Displaying 1 result from an estimated 1 matches for "simu4".

Did you mean: simul
2003 Mar 05
3
reading in tab delimited data in a loop
..."simu2.dat" and so on. I know what I need on the righthand side of the read.table expression but I can't the left hand side of it to work (see the line in bold below). Can you kindly help? Many thanks. simu1 <- matrix(0,30,3) simu2 <- matrix(0,30,3) simu3 <- matrix(0,30,3) simu4 <- matrix(0,30,3) for (i in 1:4) { simu[i] <- read.table( paste("simu",i,".dat",sep="") ) } Edmond