similar to: group by (2 -levels)

Displaying 20 results from an estimated 10000 matches similar to: "group by (2 -levels)"

2006 Mar 22
3
Parent-Child Tables Help
can someone help me with this i have a table cars ( id int model_id int make_id int color_id int description text constraint fk_cars_carmake foreign key(make_id) references carmakes(id), constraint fk_cars_carmodel foreign key(model_id) references carmodels(id), constraint fk_cars_color foreign key(color_id) references colors(id) ) carmakes ( id int carmake varchar ) carmodels ( id
2008 Mar 09
1
Two sample t-test
Hi, I want to perform t-test in R for each individual car. Here is what i have. Is there a way i can test each car? The original table (test.csv) Car Tester2 Tester2 Controller1 Controller2 Audi 0.56 0.9 0.5 0.9 Toyota 0.2 0.9 0.9 0.2 Honda 0.5 0.9 0.1 0.5 BMW 0.2 0.3 0.5 0.7 > cars<-read.table("c://test.csv",header=T,sep=",", + skip=2,comment.char="")
2015 Jul 03
1
dual-booting <- Re: installing Cents os server 7.0
On 7/2/2015 5:22 PM, Warren Young wrote: > If your car has a DIN 7736 bay, you can easily replace the existing head unit without redesigning the car. This is directly equivalent to repartitioning and installing CentOS alongside Windows. how many modern cars have DIN mount stereos anymore? almost all have some weird custom shaped dashboard specific stereo insert. sure, you can get DIN
2019 Aug 06
1
Question on server speed
On 8/5/19 3:00 PM, Jerry Geis wrote: > The keyboard is USB attached and the external SSD disk is USB attached. WHY? Why would you do that? What's the point of SSD if you reduce the speed to USB? Or just use an old mechanical drive instead. Any issue with that drive will show up as IO Wait - my presumption is that you expect to see that so you're not mentioning it but it's going to
2019 Oct 04
1
CentOS 8 network-scripts
On Fri, 4 Oct 2019 at 10:41, Valeri Galtsev <galtsev at kicp.uchicago.edu> wrote: > > > > On 2019-10-04 08:03, Chris Adams wrote: > > Once upon a time, Ljubomir Ljubojevic <centos at plnet.rs> said: > >> Bridge for VM's is main reason I hate NM. > > +1 > > My impression is younger generation doesn't value rules that programmers > were
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
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 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",
2006 Jul 20
4
Problems under Redhat EL3 and ext3
I am running into performance issues with ext3. Historically we had our image files (pictures of cars, currently 5.3 million) sub divided into a directory structure [0-9]/[0-9]/[0-9]/[0-9], where we would take the first 4 letters/numbers of the file name and use that to put it into this structure. Letters [a-cA-C] would become a 0, [d-fD-F] a 1, etc. As the file names used to be based on VIN
2010 Jul 03
2
patching FC13 kernel with Lustre
Hi, I am trying to merge Lustre into Fedora 13 kernel (2.6.33.3-85.fc13.i686.PAE) I plan to submit the patches and continue to develop features on this kernel. will I get any assistance from the lustre development team. Can I maintain this patch on lustre website ? Regards, Onkar -- **************************************************** A 1965 Ford Mustang is a great car. But if you want to go
2010 Jul 03
2
patching FC13 kernel with Lustre
Hi, I am trying to merge Lustre into Fedora 13 kernel (2.6.33.3-85.fc13.i686.PAE) I plan to submit the patches and continue to develop features on this kernel. will I get any assistance from the lustre development team. Can I maintain this patch on lustre website ? Regards, Onkar -- **************************************************** A 1965 Ford Mustang is a great car. But if you want to go
2016 Aug 31
6
RFC: FileCheck Enhancements
> On Aug 24, 2016, at 4:46 PM, Vedant Kumar via llvm-dev <llvm-dev at lists.llvm.org> wrote: > >> >> On Aug 24, 2016, at 2:04 AM, Elena Lepilkina <Elena.Lepilkina at synopsys.com> wrote: >> >> Hi all, >> >> Some discussions and comments were made in reviews. Much time has already passed since last comment and uploading changed patches. I
2017 Nov 09
0
weighted average grouped by variables
Hello an update about my question: I worked out the following solution (with the package "dplyr") library(dplyr) mydf%>% mutate(speed_vehicles=n_vehicles*mydf$speed) %>% group_by(date_time,type) %>% summarise( sum_n_times_speed=sum(speed_vehicles), n_vehicles=sum(n_vehicles), vel=sum(speed_vehicles)/sum(n_vehicles) ) In fact I was hoping to manage everything in a
2017 Nov 09
1
weighted average grouped by variables
Hello, Using base R only, the following seems to do what you want. with(mydf, ave(speed, date_time, type, FUN = weighted.mean, w = n_vehicles)) Hope this helps, Rui Barradas Em 09-11-2017 13:16, Massimo Bressan escreveu: > Hello > > an update about my question: I worked out the following solution (with the package "dplyr") > > library(dplyr) > > mydf%>% >
2016 Sep 01
2
RFC: FileCheck Enhancements
I wanted to start making some change. But I thought and I don't understand why it's necessary to add @. // RUN: FileCheck %s // CHECK-DEFINE-PATERN: register(n): {{[a-z]+}}n // CHECK: %[[register("1")]] // CHECK-SAME: %[[register("2")]] // CHECK: %[[register("1")]] // CHECK-SAME: %[[register("2")]] This example will be equivalent to // RUN:
2016 Sep 05
2
RFC: FileCheck Enhancements
Ok, when I change syntax I will load new patch. Thanks, Elena. -----Original Message----- From: vsk at apple.com [mailto:vsk at apple.com] Sent: Thursday, September 01, 2016 9:38 PM To: Elena Lepilkina <Elena.Lepilkina at synopsys.com> Cc: Mehdi Amini <mehdi.amini at apple.com>; llvm-dev at lists.llvm.org Subject: Re: [llvm-dev] RFC: FileCheck Enhancements It is necessary to be
2016 Sep 01
2
RFC: FileCheck Enhancements
Yes, I now understand what you suggested. > CHECK-DEFINE-PATTERN: car(make, model, year): {{Found a }} make model {{, from }} year But I think that in pattern I should show that I use parameter. I thought that patterns can also be simple strings. All strings should be regexs in pattern and parameters can't be used in pattern in your example. But I want to use parameters in regexs. For
2012 Nov 07
4
conditional coding question
I have a big dataset. I want to create a new factor variable with certain conditions based on two existing numeric variables. Existing variables: indinc (range: 0 to 16), groupinc (range -3 to 5) Conditional values that 'incorp' will take: If groupinc = 5, then ?cons?; If groupinc is -3 : -2, AND indinc < 9, then ?ethnat?; If groupinc is -2 : -1, AND indinc > 8, then ?civic?; If
2006 Jan 11
15
How to use custom url formats?
I''m new to Rails and am trying to use a field called "code" instead of "id" in my URLs. For example, assuming I''ve got a database of motorcycles makes where the codes are "Honda", "Yamaha", "Suzuki", and "Kawasaki", etc. To show the info about Honda I want to use this url: http://www.mysite.com/makes/honda/
2005 May 18
1
Car Performance Tuning
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 List, I googled on this, and despite getting some hits (due more to the terms performance and tuning I think than anything) I was unable to locate useful links for actual software. I'm seeking software that will run on CentOS (or really any linux install period) that will assist me in testing and tuning my vehicle. I'm involved in import