search for: logday

Displaying 1 result from an estimated 1 matches for "logday".

Did you mean: logeay
2008 Nov 05
2
how can I save the estimates of a regression model in a file?
Dear all I need some help with R. How can I save the estimates of a regression model in a file? here is what I did: 1) this is my regression model: fit1 <- lm(logmilk ~ logdays + days, data=data2) 2) however, I want to get the parameters estimates for each individual (by group): so i did the following: by(data2, list(data2$V2),function(.data2) lm(logmilk ~ logdays + days, data= .data2)) 3) Then to keep the estimates in a file I did: res1 <- by(data2, list(data2$V2),...