search for: trucks

Displaying 20 results from an estimated 189 matches for "trucks".

Did you mean: tracks
2009 Jun 11
2
Expand a contingency table based on the value in one column
Hi R-helpers, I have the following (dummy) dataframe: > test DATE LOCATION KIND CLASS COUNT 1 1 1 CAR A 2 2 1 1 TRUCK D 3 3 1 1 BUS E 4 4 1 2 CAR E 2 5 1 2 TRUCK A 7 6 1 2 BUS F 1 That I would like to turn into this: > test2 DATE LOCATION KIND CLASS 1 1 1
2006 Jun 01
1
find not working properly
...e="number" value=""/><br/> </p> <%= link_to "Find", :action => "found", :id => "@truck_vehicleID" %> </form> [/code] the controller [code] def found @truck = Truck.find(:all, :conditions => "trucks.vehicleID = ''truck_vehicleID''") @oil = Oil.find(:all, :conditions => "vehicleID = ''truck_vehicleID''") @apperance = Apperance.find(:all, :conditions => "vehicleID = ''truck_vehicleID''")...
2009 Jan 26
1
reshape problem: id and variable names not being recognized
Hi everyone. Long time listener, first-time caller here. I have a data set that's been melted with the excellent reshape package, but I can't seem to cast it the way I need to. Here's the melted data's structure: > str(mdat) 'data.frame': 6978 obs. of 4 variables: $ VehType : Factor w/ 2 levels "Car","Truck": 1 1 2 1 1 2 1 1 1 1 ... $ Year :
2011 Jun 06
2
qplot fill and colour not working as expected
I am just learning to use qplot and can't get the fill/colour to work. Below is the R code for a scatter plot and bar graph. library(ggplot2) x<-c(1,2,3,4,5,6,7) y<-c(1,2,3,2,5,6,3) qplot(x,y, main="Scatter Plot Test", xlab="X Label Test", ylab="Y Label Test", colour="blue")z<-c("van", "van", "van",
2009 Jun 22
4
SAS-like method of recoding variables?
Dear R-helpers, I am helping a SAS user run some analyses in R that she cannot do in SAS and she is complaining about R's peculiar (to her!) way of recoding variables. In particular, she is wondering if there is an R package that allows this kind of SAS recoding: IF TYPE='TRUCK' and count=12 THEN VEHICLES=TRUCK+((CAR+BIKE)/2.2); Thanks for any help or suggestions you might be able
2005 Aug 22
3
Help me with my memory
Okay, now, before 3.10 is finalized... what bug reports am I still forgetting? -hpa
2005 Jun 08
2
unknown boot options on kernel command line.
changing i386 COMMAND_LINE_SIZE to 1024 attached is a simplistic fix to change kernel's command-line size from 256 to 1024, tomatch capability in syslinux 3.08. It seems to work. Is this all there is to it ? One of the reasons I did this was to figure out what extra options are appearing, and why. b4 extending: (the last bit is truncated) Jun 4 06:31:05 truck kernel: Kernel command
2010 Dec 09
1
displaying a note or comment when --format doc
I''m new to rspec, so, I might be coloring outside the lines, but, there have been several instances where I have wanted to display a comment or note. for example: describe "truck" do it "should require model" do end end rspec spec --format doc truck should require model What I mean by display a comment or note would be like: truck NOTE: blah, blah,
2006 Jun 27
0
newbie question: one to one relationships in ROR
A newbie to ROR, I have come to my first problem. We have two tables lets call them toys and trucks that have a one to one relationship. Now toys has_one truck and truck belongs_to toy. I have created the basic scaffold for both tables. But in order to create a new truck the user must first create a toy. What I am trying to do is create on page where the user can enter the information that a...
2011 Aug 11
1
help with loops
hi I need help with list object. I have a list object > a <- c('apple','orange','grape') > b <- c('car','truck','jeep') > c <- list(a,b) > names(c) <- c('fruit','vehicle') > c $fruit [1] "apple" "orange" "grape" $vehicle [1] "car" "truck"
2011 Jun 07
2
Line Graphs
...resenting the mean of the variables at each level. SO for 0.1 on the xaxis, we should expect 6 values for y. This is what I have so far. The plot omits 1.0 and the abline function does not make the line y = x on the plot This is what I have so far: # Calculate range from 0 to max value of cars and trucks g_range <- range(0, 1) # Graph autos using y axis that ranges from 0 to max # value in cars or trucks vector. Turn off axes and # annotations (axis labels) so we can specify them ourself plot(B, type="o", pch = 0, lty=1,col="blue", ylim=g_range, axes=FALSE, ann=FALSE) # Mak...
2003 Aug 22
0
"Frame rejections" on E1 trucks
Hi- I've posted this on the bugs list, but I'd also like to see if others have had similar problems when connecting via E1 trunks (E400P). I'm getting numerous errors like the following during inbound calls to my E1 channels. These occur when the system is under medium load: WARNING[196621]: File chan_zap.c, Line 5404 (zt_pri_error): PRI: !! Got reject for frame 78, retransmitting
2006 Aug 27
6
how to get the words of a query
Hi, Using aaf to search pages, I wanted to present excerpts from the texts even when more than one term was used in the search. I came to some results, despite the difficulty caused by Unicode+ruby. The last problem I''m faced is to get the query words, without the logical articulation chars if any. Is there a clean way to get them ? -- Jean-Christophe Michel
2003 Jan 13
4
Dos To Unix?
...m a Windows directory - say autoexec.bat and drop it onto a samba mapped Unix drive, when we then go to the Unix box and vi the file all the lines end in the DOS EOL character (^M) is there any option/configuration in samba to make it convert DOS text files to UNIX format? Brendan Flanagan Leyland Trucks Ltd, Croston Road, Leyland, PR26 6LZ Phone: 01772 625715 Email: BrendanFlanagan@Paccar.com
2013 Dec 09
7
Best board for ARM ?
2006 Jun 15
1
Problem with deployment on TextDrive using shovel script
Hi, I try to deploy rails application to textdrive account. I use Geoffrey Grosenbach''s script http://nubyonrails.com/pages/shovel Unfortunatly I receive error message :-( Can you help me with this problem? I have no clue where exactly problem is :-( Please see log below ---- LOG ---- c:\Projekty\truck\trunk>rake --trace remote:exec ACTION=setup_lighty (in
2005 Dec 14
4
Is it possible to highlight search keywords in results?
...I could end up having to practically duplicate the ferret query parser just to interpret the query so that I can figure out how to highlight the keywords in the search results. Just in case I''m not making sense, here is an example of what I want: query = ''contents:"testing|trucks"'' prepend = ''<strong>'' append = ''</strong>'' count = index.search_each(query) do |doc, score| highlighted_contents = index.highlight_for_query(doc, query, prepend, append) puts highlighted_contents end This would make all instanc...
2008 Sep 23
2
how to model this
Dear list, I met with a business case and feel frustrated to model it,scenario is like this 1. logistics department running 2. a lot of customers place orders and goods need to be send to their site (nationwide) 3. order received and then choose from a list of truck carriers to deliver goods,a cheapest one should be selected but might not available for the limit of order-shipment time,so a more
2014 May 11
0
YAMAHA CAR ADVERT!!!
Hello, We are currently seeking to employ individual?s world wide. How would you like to make money by simply driving your car advertising for YAMAHA. How it works? Here?s the basic premise of the "paid to drive" concept: YAMAHA seeks people -- regular citizens,professional drivers to go about their normal routine as they usually do, only with a big advert for new "YAMAHA YZF-R6
2004 Sep 11
0
global APPEND vs initrd= override
folks, Im finding that using a config like this: SERIAL 0 19200 #IPAPPEND 2 PROMPT 1 TIMEOUT 100 IMPLICIT 0 APPEND console=ttyS0,19200n81 root=/dev/nfs nfsaddrs=10.10.10.100:10.10.10.2:10.10.10.2:255.255.255.0:soekris:eth0 nfsroot=10.10.10.2:/nfshost/truck panic=15 LABEL deb268 KERNEL vmlinuz-2.6.8-1-386 initrd=initrd.img-2.6.8-1-386 panic=10 LABEL deb268-ram KERNEL vmlinuz-2.6.8-1-386