[R] point pattern interactions (Gcross and Kcross)

Barry Rowlingson B.Rowlingson at lancaster.ac.uk
Mon Nov 14 19:08:12 CET 2005


Charlotte Reemts wrote:


> marked planar point pattern: 628 points
> multitype, with levels = w2004  w2005
> window: rectangle = [ 607200 , 634800 ] x [ 3438400 , 3460400 ]

  I just created something as close as possible to that using random 
poisson points:

  > oakfake
  marked planar point pattern: 628 points
  multitype, with levels = w2004  w2005
  window: rectangle = [ 607200 , 634800 ] x [ 3438400 , 3460400 ]

but Gcross works fine:

  > g.0405<-Gcross(oakfake, i="w2004", j="w2005")
  > plot(g.0405)

as does Kcross - so it must be something wrong with your data beyond 
what you've told us.

  Do you see it okay if you do plot(oakwilt)?

Baz




More information about the R-help mailing list