search for: tazdetermin

Displaying 2 results from an estimated 2 matches for "tazdetermin".

Did you mean: tazdetermine
2008 Sep 24
2
Calling object outside function
...to i use those objects later in the program. I tried calling the function again and then the object i wanted and it worked the first time but now it doesnt( i think i defined the object outside the function accidently so then it worked but when run properly it doesnt). I did this using Testdata(TAZDetermine) to first recall the function then the object i wanted to use. This deosnt work and it errors that the object cannot be found. Do i use attach? this didnt seem to work either. I just want to call an object defined in a function outside of the function. Hope you can help Cheers, JR #Functio...
2008 Sep 30
1
conditional loop
...find a good resource for my problem, any help would be much appreciated. Cheers, 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...