Re: [R] not common records

2016-06-03 Thread Ashta
Thank you Jeff. Solved. On Fri, Jun 3, 2016 at 12:47 AM, Jeff Newmiller wrote: > ?merge > > Pay attention to the all-whatever parameters. > -- > Sent from my phone. Please excuse my brevity. > > On June 2, 2016 7:04:47 PM PDT, Ashta wrote: >> >> I have 2 data sets. File1 and File2. Some records

Re: [R] not common records

2016-06-02 Thread Jeff Newmiller
?merge Pay attention to the all-whatever parameters. -- Sent from my phone. Please excuse my brevity. On June 2, 2016 7:04:47 PM PDT, Ashta wrote: >I have 2 data sets. File1 and File2. Some records are common to both >data sets. For those common records I want get the difference between >d_x1

[R] not common records

2016-06-02 Thread Ashta
I have 2 data sets. File1 and File2. Some records are common to both data sets. For those common records I want get the difference between d_x1z1= z1-x1 and d_x2z2= z2-x2. File1<- data.frame(var = c(561,752,800,900), x1= c(23,35,40,15), x2= c(125,284,280,347)) File2<- data.frame(var = c(561,75