[R-sig-Geo] k-function

Barry Rowlingson b.rowlingson at lancaster.ac.uk
Wed Mar 24 10:18:48 CET 2010


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



More information about the R-sig-Geo mailing list