list(a_c = 1:11, b = 6:10) just to show by
> expected outcome. But i am expecting the resulting code will naming "a_c" by
> itself also.
> Hope i can make clear about problem.
>
>
>
>
> Tanvir Ahamed
> Göteborg, Sweden | mashra...@yahoo.com
>
>
>
>
rsday, 13 April 2017, 18:37
Subject: Re: [R] Merge selected list element by name
Hello,
There's no need to send the same question twice, we've got it at the
first try.
Maybe I don't understand but is this it?
kk1 <- list(a_c = union(kk$a, kk$c), b = kk$b)
kk1
$a_c
[1] 1 2
Hello,
There's no need to send the same question twice, we've got it at the
first try.
Maybe I don't understand but is this it?
kk1 <- list(a_c = union(kk$a, kk$c), b = kk$b)
kk1
$a_c
[1] 1 2 3 4 5 6 7 8 9 10 11
$b
[1] 6 7 8 9 10
Hope this helps,
Rui Barradas
Em 13-04-2017 1
3 matches
Mail list logo