Patrick Brandt
Associate Professor
Political Science
School of Economic, Political and Policy Sciences
University of Texas at Dallas
Personal site: http://www.utdallas.edu/~pbrandt
MSBVAR site: http://yule.utdallas.edu
On Sat, Dec 18, 2010 at 9:11 AM, Maas James Dr (MED) <J.Maas at uea.ac.uk> wrote:
> I?m testing using the foreach package to see if it will parrallelize a Bayesian MCMC routine. ?It appears to work well, just gives back huge results files when I run multiple iterations. ?I?m looking at the .combine option ... is there an easy way to get it combine the results across components and still maintain the matrix structure? ?Several of the outputs are 3x3 matrices, but I get 1000 of them, one in each component. ?If possible I?d like to get the mean matrix, i.e ?(m1 +m2+m3 ... m1000 ) / 1000 ?if that makes any sense!?
>
> Any suggestions most welcome, thanks for help.
>
> J
>
> ===============================
> Dr. Jim Maas
> University of East Anglia
>
> _______________________________________________
> R-sig-hpc mailing list
> R-sig-hpc at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-hpc
>