[R] Model for lm keeps producing an error

2014-07-17 Thread Jessica Timms
Hi, I still seem to be getting errors from trying to run my altered R script, any advice? Thanks Jess Model1A = function(meth_matrix,exposure, X1, X2, X3, batch) { + + mod = lm(methcol ~ exposure+X1+X2+X3+batch, data = meth_matrix) + + + res=coef(summary(mod))[2,] + + + } > > > ##Run

[R] lm and 450k data

2014-07-12 Thread Jessica Timms
se or if you need any more information? Any help or guidance would be massively appreciated. Best wishes Jessica Timms [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help P