Displaying 2 results from an estimated 2 matches for "candslength".
2008 Dec 12
1
Creating a vector
...=101:108
#Builds test Vacant TAZ vector
TAZDEVS=c(125481,174581,556789,14755776,9984275,1324587,12457841,4511475)
#Builds dataframe simulating TAZ_VAC_FEET
TAZ_VAC_FEET=data.frame(TAZS,TAZDEVS)
#Candidate TAZs from location shoice model
cands=c(101,102,107,108)
#Create Object of length of cands
candslength=length(cands)
#Test Location Choice Model selected TAZ
for(i in i:candslength){
#Renames randomly generated TAZ's object
Loc_Mod_TAZ=cands[i]
#Create test Development in Sq. Ft.
Dev_Size=500000
#Determines vacant square feet by TAZ
TAZDetermine_FEET=TAZ_VAC_FEET[TAZ_VAC_FEET$TAZS==...
2008 Nov 26
1
Creating a vector based on lookup function
...think is a simple problem i am
having with building a vector in a for loop. I have built a more
understandable example so hopefully that will help..help you, help me, if
you know what i mean.
dev=400
#test location model TAZs to reference
cands=c(101,105,109)
#Create Object of length of cands
candslength=length(cands)
#TEST TAZ Vector
CANDS=(100:110)
#Test Dev Vector
TAZDEVS=c(120,220,320,420,520,620,720,820,920,1020,1120)
#Creates datframe of CANDS and DEVS
TAZLIST=data.frame(CANDS,TAZDEVS)
for(i in 1:candslength){
cand=cands[i]
#Creates an object based on the value of "cands"...