search for: blu_var_

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

2004 May 11
1
calling data frames
...I've around 1000 *.txt files, I've generate with other software. I've now done the following code (below). My question is how can I automate this (with do.call () ?), so it could be done for all the *.txt files. Thanks in advance, Rog??rio names<- list.files() file <- "BLU_Var_%04d.txt" for(i in 1:1000){ blumenau<-read.table("Blu_1.txt",h=T) # 1000 *.txt files Guildas<-data.frame(cbind(t(blumenau[2:50]))) Guilda1<-cbind(X27,X48) Guilda2<-cbind(X5,X17,X19,X20,X21,X24,X25,X26,X40,X41,X77) Guilda3<-cbind(X22,X28,X69) Guilda4<-cbind(X29,X30,...