Displaying 1 result from an estimated 1 matches for "i_parprob".
Did you mean:
bin_parprob
2008 Nov 07
1
For Loop - loading 10 sets of data and calculating
...in$i_TAZvacant=Bin$i_main[[3]]*43560
#Sums each parcel acreage data of the bin
Bin$iAcres_sum=sum(Bin$i_Acres)
#Creates data frame of cumlative percentages of each parcel of bin
Bin$i_cumper=cumsum(Bin$i_Acres/Bin$iAcres_sum)
#Calculates the probability of choosing particular parcel from bin
Bin$i_parprob=abs(1-Bin$i_cumper)
#Combines parcel acreage data and cumlative percentage data
Bin$iMain.data = cbind(Bin%i_Acres,Bin$i_parprob,Bin$i_TAZ,Bin$i_TAZvacant)
}
--
View this message in context: http://www.nabble.com/For-Loop---loading-10-sets-of-data-and-calculating-tp20386673p20386673.html
Sent fr...