Re: [R] correct subset in R

2017-03-23 Thread David Winsemius
> On Mar 23, 2017, at 11:28 AM, Rui Barradas wrote: > > Hello, > > I would try ?merge, in particular see the arguments by.x and by.y > > Hope this helps, > > Rui Barradas > > Em 23-03-2017 18:19, Elahe chalabi via R-help escreveu: >> Hi all, >> I found an answer to the last question I asked

Re: [R] correct subset in R

2017-03-23 Thread Rui Barradas
Hello, I would try ?merge, in particular see the arguments by.x and by.y Hope this helps, Rui Barradas Em 23-03-2017 18:19, Elahe chalabi via R-help escreveu: Hi all, I found an answer to the last question I asked in this group and now I want to have a correct subset of my data: I have a fo

[R] correct subset in R

2017-03-23 Thread Elahe chalabi via R-help
Hi all, I found an answer to the last question I asked in this group and now I want to have a correct subset of my data: I have a following df1 which is list of all cities in US and their states: $ name : Factor w/ 1008 levels "Ackley","Ackworth",..: 1 2 3 $ state: Factor w/ 1 l