Re: [R] merge 2 data.frames

2013-02-06 Thread Alice Xiong
x<-matrix(c(1,11,11,2,3,4),2,3) y<-matrix(x(7,8,9,10,11,12),2,3) if you want to merge them by row, then use: rbind(x,y) if you want to merge them by column, then use cbind(x,y) hope this can help you out* Alice Xiong On Wed, Feb 6, 2013 at 8:55 AM, Mat wrote: > Hello together, &

Re: [R] The interpretation of lm(y~x)?

2013-02-06 Thread Alice Xiong
to start with, you should now what kinds of independent variables in your data=Rail. it looks like you depend variable is "travel". is "Rail" the only IV in your model? it seems has been classifed to L, Q, C. from the output, it seems the final model should be: E(travel)=66.5+54*Rail.L-4.7 Rail.Q-