Skip to content
Prev 1480 / 2152 Next

Parallel linear model

On 08/24/2012 07:28 AM, Patrik Waldmann wrote:
the easiest is to write function in *apply to accept all necessary 
arguments, e.g.,

   fun = function(x, fix) summary(lm(y~x+fix))$coeff[2,4]
   parApply(cl, x, 2, fun, fix)

Martin