[R-sig-Geo] raw residual calculation
paul.hiemstra at knmi.nl
Thu Jul 21 10:48:17 CEST 2011
On 07/21/2011 08:21 AM, Francesco Carrer wrote:
> I am using R for locational modeling of mountain sites against environmental
> variables. I have carried out a multivariate regression analysis of my sites
> with two independent variables, but I need a method to calculate raw
> residuals of my distribution. What am I supposed to do?
> Thank you very much indeed!
> [[alternative HTML version deleted]]
> R-sig-Geo mailing list
> R-sig-Geo at r-project.org
As I understand your (brief) question, take a look at the residuals
lm.cars = lm(speed~dist, cars)
Paul Hiemstra, Ph.D.
Global Climate Division
Royal Netherlands Meteorological Institute (KNMI)
Wilhelminalaan 10 | 3732 GK | De Bilt | Kamer B 3.39
P.O. Box 201 | 3730 AE | De Bilt
tel: +31 30 2206 494
More information about the R-sig-Geo