Douglas Bates <[EMAIL PROTECTED]> writes: ... > Try changing the call of lm.fit to > lm.fit(x[ind, , drop = FALSE), y[ind])
It will probably work better without the syntax error, as lm.fit(x[ind, , drop = FALSE], y[ind]) ______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html