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.

--------------------------------------------------------------------
E-Mail: (Ted Harding) <ted.hard...@manchester.ac.uk>
Fax-to-email: +44 (0)870 094 0861
Date: 13-Jan-09                                       Time: 22:39:53
------------------------------ XFMail ------------------------------

______________________________________________
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/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to