[R] point pattern interactions (Gcross and Kcross)
Charlotte Reemts
creemts at TNC.ORG
Mon Nov 14 20:15:20 CET 2005
In going over the creation of the point pattern (again), I discovered a typo
that switched x and y data. Once I fixed that, the code worked just fine.
Thanks for your help!
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