search for: infoi

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

Did you mean: info
2012 May 31
0
Problem in a programming
... info<-xmui%*%xi  }  ## end of information loop  info<-infor(xi)  ##start of loop to replace every element of x (i loop)  for(i in 1:5)  {  ## start of a loop to replace each element of xi with every element of set.covar (j loop)  for(j in 1:n)  {  x<-xi  xi<-replace(x,i,set.covar[j])  infoi<-infor(xi)  info<-ifelse(infoi>info,c(infoi,return(xi)),c(info,return(x)))  } ## end of j loop  } ## end of i loop  } ## end of mainloop (dopt) Please help me with the loop. With best regards, Farzana. [[alternative HTML version deleted]]