search for: numcands1

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

2008 Nov 25
2
creating a new vecotr in a for loop
...on i am using is the subset function and i cant do it without y being a vector itself and it is currently only a one value object. #Creates test Candidates Vector Candidates=c(100,101,102,103,104,105) #Creates object equaling the number of candidate TAZs from the main script Location Choice Model NumCands1=length(Candidates) Dev..At=9999999 for(i in 1:NumCands1){ #Renames Location Choice Model generated TAZ's object Loc_Mod_TAZ=Candidates[i] #Converts Development size from main script to Development density function format Dev_Size=Dev..At #This is my "y" value in the examp...