search for: markstat

Displaying 2 results from an estimated 2 matches for "markstat".

Did you mean: mar_stat
2005 Oct 21
0
using markstat
Dear all, I am using the spatstat package, and in particular the algorithm markstat(X,fun,N,R,.) I need that output to detect which is the nearest neighbour of each point in that point pattern. Therefore, I would use X=my ppp object already defined, N=2 But what function should I use? It should be something like "none"..?! Hope you can help me on this. Regards, Sar...
2006 May 03
1
Permutation test of marked point pattern
...ues smaller than the observed mean value occur less than 5% of the time. I suppose 1000 permutations would be a reasonable starting point (the ppp object has 27 points). so far, I've figured out how to: -create a marked ppp object: ms.ppp -calculate my test statistic: teststat <- mean(abs(markstat(ms.ppp, diff, N=2))) -randomly allocate marks to a point pattern: Y <- rlabel (ms.ppp, labels=ms.ppp$marks, permute=TRUE) I have looked at perm.test{exactRankTests} and perused the R help archive but haven't been able to find how to work the permutation test with a marked ppp object. I t...