Dear all,

Pardon me for my limited knowledge in R.  I am trying to generate the plot
of fitted value vs. residual from a spatial regression like in ordinary
regression, if possible.  I tried the followings but did not get what I want
(different diagnostic plots that can be generated by plot() in linear
regression). Any hints will be appreciated.

>library(spdep)
fit1<-lagsarlm(y~x1+x2+x3,data=data1,weight file,zero.policy=TRUE)
# I defined the appropriate data file and weight file
summary(fit1)
library(car)
plot(fit1)
# it gives me following error
Error in plot.window(...) : need finite 'xlim' values
In addition: Warning messages:
1: In min(x) : no non-missing arguments to min; returning Inf
2: In max(x) : no non-missing arguments to max; returning -Inf
3: In min(x) : no non-missing arguments to min; returning Inf
4: In max(x) : no non-missing arguments to max; returning -Inf
# when I do-
plot(fit1$fit, fit1$res)
# it gives the plot of fit1$fit vs. Index ( i guess the observation number)

Thank you.

Ram Pandit
-- 
Ram Pandit
1449 Richland Road
Apartment 3M
Auburn, AL 36832

	[[alternative HTML version deleted]]


