Message-ID: <Pine.LNX.4.44.0704051324560.1188-100000@reclus.nhh.no>
Date: 2007-04-05T11:32:44Z
From: Roger Bivand
Subject: quadrat.test()
In-Reply-To: <20070402190527.yschkvot8gkkos80@uamail.uark.edu>
On Mon, 2 Apr 2007, emason wrote:
> Hello, I stumbled upon an respones you write regarding the quadrat()
> function in R. I have been manhandling it all day and I still cannot
> get quadrat() or quadrat.test() to work for me. I keep getting this
> errror:
>
> Error in quadrat.count.engine(X$x, X$y, b$xbreaks, b$ybreaks) :
> xbreaks do not span the actual range of x coordinates in data
>
> Does this mean anything to you? I am at a total loss.
Please always include the command giving the error message in your
posting, otherwise we have to guess.
Looking at the code and ?quadrat.test, and trying:
data(simdat)
simdat
quadrat.test(simdat)
works, but if xbreaks= is set outside x's range:
quadrat.test(simdat, xbreaks=seq(-10,0,1))
your error appears. So you are setting an inappropriate xbreaks= argument,
or possibly have an inappropriate window in your ppp object.
>
> Thank You,
>
> Erin K.
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>
--
Roger Bivand
Economic Geography Section, Department of Economics, Norwegian School of
Economics and Business Administration, Helleveien 30, N-5045 Bergen,
Norway. voice: +47 55 95 93 55; fax +47 55 95 95 43
e-mail: Roger.Bivand at nhh.no