[R] average matrices across a list

Ben Bolker bbolker at gmail.com
Sun Sep 12 22:56:28 CEST 2010


Gregory Ryslik <rsaber <at> comcast.net> writes:

> Browse[2]> Reduce["+",results]
> Error in Reduce["+", results] : 
>   object of type 'closure' is not subsettable
> 

  You need to use parentheses, not square brackets.



More information about the R-help mailing list