search for: taz

Displaying 20 results from an estimated 70 matches for "taz".

Did you mean: caz
2009 Mar 26
2
loading and manipulating 10 data frames-simplified
...ames and then manipulate those 10 data frames but would like to do this in a more simplified code than what i am doing. I have tried a couple of approaches but cannot get it to work correctly. So the initial (bulky) code is: #Bin 1 #------- #Loads bin data frame from csv files with acres and TAZ data Bin1_main <- read.csv(file="I:/Research/Samba/urb_transport_modeling/LUSDR/Workspace/BizLandPrice/data/Bin_lookup_values/Bin1_lookup.csv",head=FALSE); #Separates Acres data from main data and converts acres to square feet Bin1_Acres=Bin1_main[[1]]*43560 #Separates TAZ data from...
2009 Apr 29
2
Re moving unwanted double values in list
I have a procedure that goes sorts out some numbers based on specidifed criteria and for some reason the list contains double values in some of the rows such as: TAZs <- [[84]] [1] 638 [[85]] [1] 643 [[86]] [1] 644 732 [[87]] [1] 651 801 i would like to check list TAZs for double values and remove any if present. I have tried if (length(TAZDs==2)) rm(TAZDs[2]) but no luck. I cant find nor think of another way. Any help would be helpful. Thanks in...
2008 Dec 12
1
Creating a vector
Good day all, I am having seom trouble building a simple vector. Below my sample code shows what ime trying to do and i have pointed out where the issue is. What happens not is that a single "TAZDetermine_FEET" is selected by i need multiple values, as many as there are "cands". I am thinking that this should occur within the for loop and add a "TAZDetermine_FEET" to a new vector ("TAZDs") each time the loop goes round but i cant seem to make it work usin...
2007 Jan 25
1
issue with ivtv & wctdm zaptel drivers (TDM PCI Master abort)
...part in http://svn.digium.com/view/zaptel/tags/1.4.0/wctdm.c that prints those error messages to the syslog: if (ints & 0x10) { /* Stop DMA, wait for watchdog */ printk("TDM PCI Master abort\n"); wctdm_stop_dma(wc); And this is what I'm seeing in syslog: Jan 24 20:04:06 taz kernel: ivtv0 irq: ENC START CAP 0: 0016d6c0 00004000 Jan 24 20:04:06 taz kernel: ivtv0 dma: DMA encoder MPEG: 0x00004000 bytes at 0x0016d6c0 Jan 24 20:04:06 taz kernel: ivtv0 dma: start DMA for encoder MPEG Jan 24 20:04:06 taz kernel: ivtv0 irq: ENC DMA COMPLETE 3 0 Jan 24 20:04:06 taz kernel: ivt...
2012 Apr 03
2
Grouping and/or splitting
I have a dataframe imported from csv file below: Houseid,Personid,Tripid,taz 1,1,1,4 1,1,2,7 2,1,1,96 2,1,2,4 2,1,3,2 2,2,1,58 There are three groups identified based on the combination of first and second columns. How do I split this data frame? I tried aa <- split(inpfil, inpfil[,1:2]) but it has problems. Output desired is aa[1] Houseid,Personid,Tripid,taz 1,1,1,...
2008 Sep 30
1
conditional loop
...proceed, if not i would like my random number generator to select another number until complies with the requirement. I have tried below but my while loop doesnt do what i would like. I cant seem to 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,r...
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...
2010 Feb 23
1
select row based on highest value
Please consider the following #Data to use Props<-c("p754921","p754921" ,"p754921","p75506" ,"p75506" ,"p75506","p75506","p75508","p75508","p75508","p75508","p75508") TAZ<-c(38,37,37,171,171,282,171,46,46,169,169,169) Area<-c(109828.04, 128134.71, 46469.57, 37160.21, 40080.50,344679.66,16972.28, 342309.558, 260906.870, 17014.659, 7285.706, 10936.316) TazProperties..<-data.frame(Props,TAZ,Area) t <- TazProperties.. v <- aggregate(t$...
2007 Feb 27
0
Optimizing the loop for large data
...I wrote so far, but seems to be inefficient. I appreciate if someone help me out. library(foreign) library(MASS) D<-read.dbf('data/Indianapolis015.dbf') # import a data # data looks like this LONGLAB X Y Perimeter Area X_UTM Y_UTM F0 F1 F2 1 TAZ 18011:1000 -86.25985 39.95286 2.061630 0.1862549 50600.38 4435792 235 0 35 2 TAZ 18011:1001 -86.31030 39.97591 3.657006 0.7305006 46440.80 4438608 0 0 0 3 TAZ 18011:1002 -86.29542 39.97054 3.516089 0.6408084 47677.31 4437936 155 0 15 4 TAZ 18011:1003 -86.27574 39.97294 5.00...
2012 Jan 13
2
More issues with apply
Hi all, Please consider the following: DataSet1.. <- data.frame(Bldgtype=c("SFDM","SFDM","SFDM","SFDM","SFDM","SFDM","APT"), Taz=c("254","254","254","564","564","564","564"),stringsAsFactors = FALSE) PeriodResType_Zx <- tapply(as.character(DataSet1..$Bldgtype), as.character(DataSet1..$Taz), table) PeriodResType_Zx $`254` SFDM 3 $`564` APT SFD...
2008 Nov 25
2
creating a new vecotr in a for loop
...x vector based on the values of y but the function 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=...
2010 May 28
1
Data frame manipulation
Hello All, Please consider the following: TotEmp<-c(19,6,1,1,8,44,2,33,48,1) ClusterType<-c("AGF","CNS","OSV","RTL","RTL","TRN","REL","ACC_CLUST","RTL","WHL") Taz<-c(0,0,0,100,100,100,101,101,102,103) AllCtTypes_<-c("AGF","CNS","OSV","RTL","TRN","REL","ACC_CLUST","WHL","ADM_CLUST", "HLH","HLH_CLUST","ACC","RTL_CLUST","...
2008 Nov 07
1
For Loop - loading 10 sets of data and calculating
...to first load the data then calculate, im sure this is possible as i have seen it done but cant seem to reproduce it in my own code. Hope my question is clear and i hope someone can offer some guidance. Cheers, JR for (i in 1:10) { #------- #Loads bin data frame from csv files with acres and TAZ data Bin$i_main <- read.csv(file="I:/Research/Samba/urb_transport_modeling/LUSDR/Workspace/BizLandPrice/data/Bin_lookup_values/Bin$i_lookup.csv",head=FALSE); #Separates Acres data from main data and converts acres to square feet Bin$i_Acres=Bin$i_main[[1]]*43560 #Separates TAZ data f...
2010 Mar 24
0
Getting choropleth map intervals correct
Hello all, Working on mapping some probabilities using R to a geographic unit called a TAZ. The below data will work but you will have to set your directory for the shape file. Never did this before so hopefully this works. ResProbs is just supposed to be a value between 0-1, sorry if that more complicated than it needed to be. TazFile <- "*directory*/TAZ.shp" TazSh...
2010 Jan 21
2
Create a multi dimensional array from a data frame
...2a2,h2i2a3,h2i3a1,h2i3a2,h2i3a3,h2i4a1,h2i4a2,h2i4a3,h3i1a1,h3i1a2,h3i1a3,h3i2a1,h3i2a2,h3i2a3,h3i3a1,h3i3a2,h3i3a3) i would like to produce a multidimensional array that looks something like h1 h2 h3 i1 X X X i2 X X X i3 X X X a = 1 , TAZ = 1:5 ->for all 5 TAZ values or each row h1 h2 h3 i1 X X X i2 X X X i3 X X X a = 2 , TAZ = i in 1:5 h1 h2 h3 i1 X X X i2 X X X i3 X X X a = 3 , TAZ = i in 1:5 Basically...
2009 Jan 07
1
Re moving Numeric,0 from dataframe
...breaking the posting rules by not posting sample code but i tried building some sample test code for this problem based on my working code and it wasnt producing what i wanted so hopefully a brief explanation and my result will allow you guys enough information to offer some advice. My result: allTAZprobs TAZS [1,] Numeric,0 640 [2,] 0.4385542 641 [3,] 0.2876207 642 [4,] Numeric,0 643 [5,] Numeric,0 649 [6,] Numeric,0 650 [7,] 0.7543349 652 [8,] Numeric,0 654 is a dataframe that is built after about 4 iterative processes of looking up some numbers in different tables an...
2004 Jul 12
2
Problem with wine and Photoshop 7.0
To start off here is my version: drew@taz:~/downloads [14:26:56] -> wine -v Wine 20040505 When I run photoshop like this: wine "C:\\Program Files\\Adobe\\Photoshop 7.0\\Photoshop.exe" I get a little window form with an "OK" button that has "Adobe Photoshop 7.0" as it's title. I click OK...
2008 May 02
2
FAQ: setting thunderbird to talk to dovecot
...l handle is, thespider.com, and my email address in that domain is boris at thespider.com. As I setup dovecot, I can telnet to the pop3 port (110) and test it by logging in as boris at thespider.com (I would try the imap port but I do not know how to login to imap from the telnet prompt): [raub at taz ~]$ telnet mail.thespider.com 110 Trying 192.168.1.12... Connected to mail.thespider.com (192.168.1.12). Escape character is '^]'. +OK dovecot ready. user boris at thespider.com +OK pass creepycrawly +OK Logged in. quit +OK Logging out. Connection closed by foreign host. [raub at taz ~]$ H...
2010 Feb 22
1
matching on two criteria
...ther way of doing this? Thanks #Sample Data Props<-c("p754921","p754921" ,"p754921","p75506" ,"p75506" ,"p75506","p75506" ,"p75508","p75508","p75508","p75508","p75508") TAZ<-c(38,37,37,171,171,282,171,46,46,169,169,169) Area<-c(109828.04, 128134.71, 46469.57, 37160.21, 40080.50,344679.66,16972.28, 342309.558, 260906.870, 17014.659, 7285.706, 10936.316) #Creat 1st dataframe TazProperties..<-data.frame(Props,TAZ,Area) #Sample Data Props2<-c(&q...
2008 Nov 26
1
Creating a vector based on lookup function
I am still searching for a solution to what i 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:candsleng...