Dear John and the rest of S-news,
Sorry - I did not check my suggestion enough - only with a list of length
two ...
/Henrik
--------------------------------------------------------------------------
Henrik Aalborg Nielsen
Informatics and Mathematical Modelling
Section for Statistics, Time Series Group
Technical University of Denmark
Richard Petersens Plads, Build.321,
DK-2800 Kgs. Lyngby, Denmark.
E-mail: han at imm.dtu.dk
--------------------------------------------------------------------------
On Tue, 17 Feb 2004, John Fox wrote:
> Dear Henrik,
>
> At 08:41 AM 2/17/2004 +0100, Henrik Aalborg Nielsen wrote:
> >I believe do.call("+", matrices) will do the job.
>
> It doesn't work for me:
>
> > do.call("+", matrices)
> Problem in +: argument number 4 in call not matched: "+"(structure(c(1, 2,
> 3, 4), c(2, 2), N
> ULL), structure(c(5, 6, 7, 8), c(2, 2), NULL),
> structure(c(9, 10, 11, 12), c(2, 2), NULL), structure(c(13, 14,
> 15, 16), c(2, 2),
> NULL))
> Use traceback() to see the call stack
>
> (S-Plus 6.2 for Windows.)
>
> Regards,
> John
> -----------------------------------------------------
> John Fox
> Department of Sociology
> McMaster University
> Hamilton, Ontario, Canada L8S 4M4
> email: jfox@mcmaster.ca
> phone: 905-525-9140x23604
> web: www.socsci.mcmaster.ca/jfox
> -----------------------------------------------------
>
>
|