[R]  Linear Regression, Data is a list
    livia 
    yn19832 at msn.com
       
    Mon Dec  3 14:58:55 CET 2007
    
    
  
Hello,
I would like to perform a linear regression and the data is a list.e.g
lm(list$abc~., data=list) or lm(abc~., data=list), which would give the same
result.
The problem is I would like to call the response variable in a more general
form. What I try to achieve is sth like lm(list$(paste("a","b","c"))~.,
data=list), but it does not work. 
Could anyone give me some advice?Many thanks.
-- 
View this message in context: http://www.nabble.com/Linear-Regression%2C-Data-is-a-list-tf4936685.html#a14130322
Sent from the R help mailing list archive at Nabble.com.
    
    
More information about the R-help
mailing list