search for: percentofmc

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

Did you mean: percentofac
2012 Jul 03
1
remove loop which compares row i to row i-1
...C ) #col. 4 = BlockNumber; note tests to see if the offers have change to the next set of blocks. ifelse(tUnitsort[i,4]>=tUnitsort[i-1,4],(tempAC =tUnitsort[i,7]-(tUnitsort[i,8]-tUnitsort[i,9])),tempAC ) tUnitsort$MC[i] <- tempMC tUnitsort$AC[i] <- tempAC tUnitsort$PercentofMC[i] <- tUnitsort$Size[i]/tempMC tUnitsort$PercentofAC[i] <- tUnitsort$AvailableMW[i]/tempAC } -- View this message in context: http://r.789695.n4.nabble.com/remove-loop-which-compares-row-i-to-row-i-1-tp4635327.html Sent from the R help mailing list archive at Nabble.com.