[R] how to merge the fitted values from a linear model?

2009-09-01 Thread kayj
Hi All, I would like to run a linear model where the response is the duration of relief in days and the regressor is the drug dosage in mg. Then I would like compute the predicted values of the duration of relief from the model and merge it into the original data. I am not sure how the merge

Re: [R] how to merge the fitted values from a linear model?

2009-09-01 Thread Chuck Cleland
On 9/1/2009 6:32 PM, kayj wrote: Hi All, I would like to run a linear model where the response is the duration of relief in days and the regressor is the drug dosage in mg. Then I would like compute the predicted values of the duration of relief from the model and merge it into the original