Displaying 1 result from an estimated 1 matches for "tazlist".
Did you mean:
tarlist
2008 Nov 26
1
Creating a vector based on lookup function
...u 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" in TAZLIST
TAZDet=TAZLIST[TAZLIST$CANDS==cand[i],2]
}
What i would like to see is TAZDet filled with the "cands" corresponding
values found in "TAZL...