Re: [R] Merge list element by name

2017-04-13 Thread David Winsemius
> On Apr 13, 2017, at 7:56 AM, Mohammad Tanvir Ahamed via R-help > wrote: > > Hi, > I have a list like > kk<- list (a = 1:5, b = 6:10, c = 4:11) > > Now i want to merger (Union) the list element "a" and "c" by name . > > My expected outcome is > kk1<- list(a_c = 1:11, b = 6:10) > > > I c

Re: [R] Merge List element by name

2015-03-07 Thread Jeff Newmiller
This would be a perfect time for you to use best practices to convey what you have to us [1]... most specifically, posting using plain text will keep your code from getting munged up, and using dput to provide an unambiguous form we can put into our R sessions. [1] http://stackoverflow.com/que