

Hi all,
I know there are several postings on this problem, but that did not help to solve my problem
sarlm<-lagsarlm(Agr_2001~Gras_2001+For_2001,data=data1,listw=qw)
Error in solve.default(inf, tol = tol.solve) : 
system is computationally singular: reciprocal condition number = 4.22828e-37
How do I solve this issue?
Milan


 
On Friday, March 14, 2014 1:55 PM, Barry Rowlingson <b.rowlingson@lancaster.ac.uk> wrote:
  
On Fri, Mar 14, 2014 at 12:11 PM, Roman Luštrik <roman.lustrik@gmail.com>wrote:

> Can you plot a circle (or some other shape) around each store and find the
> difference between your polygon and the 'store buffer'? Alternatively, you
> can shrink your entire polygon. See `rgeos` package, say `gBuffer`
> function.
>

Yes, you use gBuffer with a negative distance.:

> require(rgeos)
> p2 = readWKT("POLYGON((2 2,-2 2,-2 -2,2 -2,2 2),(1 1,-1 1,-1 -1,1 -1,1
1))")
> plot(p2)
> plot(gBuffer(p2,width=-0.2),add=TRUE,col="red")

    [[alternative HTML version deleted]]

_______________________________________________
R-sig-Geo mailing list
R-sig-Geo@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-geo
	[[alternative HTML version deleted]]

