k-function
On Tue, Mar 23, 2010 at 11:48 PM, sam oryx <acioryx at gmail.com> wrote:
Dear all, I have been trying to use a bounding area that is not a square for estimating the k-function; infokhat <-khat(events,polyline,distances,newstyle=TRUE) Error in bbox(poly) : object not a >= 2-column array Is it possible to define a bounding area that has several points not as a square?
If you read the help for khat you'll see that the polygon argument can be a polygon ring of points. What are you feeding it? The simplest thing to feed khat as a polygon is a 2-column matrix of x,y coordinates in each row. Barry