Displaying 1 result from an estimated 1 matches for "rndtaz".
Did you mean:
rdiaz
2008 Sep 30
1
conditional loop
...heers,
JR
#Loads TAZ and corresponding vacant acres data
TAZ_VAC_ACRES=
read.csv(file="C:/LUSDR/Workspace/BizLandPrice/data/TAZ_VAC_ACRES.csv",header=TRUE);
#Test Location Choice Model selected TAZ
while(TAZDetermine <= Dev_Size){
#Randomly generates test TAZ from 100 to 844
RndTAZ=sample(100:844,1,replace=T)
#Renames randomly generated TAZ's object
Loc_Mod_TAZ = RndTAZ
#Create test Development
Dev_Size=50
#Determines vacant acres by TAZ
TAZDetermine=TAZ_VAC_ACRES[TAZ_VAC_ACRES$TAZ==Loc_Mod_TAZ,2]
#Displays number of vacant acres in Location Choice Model selected TA...