Hello,

I am trying to automate linear regression for many different datasets, each
with the same rough format (the last variable is the response).  I've been
doing something like this:

  lm=lm(x[,dim(x)[2]] ~ ., data=x)

where the dot denotes all variables.  However, this means that the response
is included as a predictor, which is obviously what I don't want.  How do I
request that all the columns in my dataset be used as predictors, except for
the response?

Thanks,

Walter

	[[alternative HTML version deleted]]

