Displaying 1 result from an estimated 1 matches for "401rows".
Did you mean:
300rows
2009 Oct 10
1
Resultados distintos
...1:dim(Totdat)[1],"mi_id",sep="_")
### ACTUALIZO Totdat CON NUEVOS DATOS:
dat1<-read.xls("C:\\Documents and Settings\\Obtenido del script\\dat1.xls",sheet=1)
dat1<-dat1[(!is.na(dat1$ti) & !is.na(dat1$fi) & !is.na(dat1$x) & !is.na(dat1$y)),]
dim(dat1)#401rows - 33cols
dat1<-dat1[,-c(16:33)]#ELIMINO LAS COLUMNAS QUE NO ME INTERESAN
dim(dat1)#401rows - 15cols
system.time({for (i in 1:dim(dat1)[1]){
for (j in 1:dim(Totdat)[1]){
if (dat1$MI_id_dat1[i]==Totdat$MI_id[j]){
Totdat$ti[j...