On 13-Jan-09 22:18:00, glenn wrote:
> Very simple one sorry:
>
> How do I join 2 lists please
>
> Thanks
> glenn
c(list1,list2)
Example:
A<-list(a=1,b=2,c=3)
B<-list(d=4,e=5,f=6)
c(A,B)
# $a
# [1] 1
# $b
# [1] 2
# $c
# [1] 3
# $d
# [1] 4
# $e
# [1] 5
# $f
# [1] 6
Ted.
---
Very simple one sorry:
How do I join 2 lists please
Thanks
glenn
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/
2 matches
Mail list logo