Displaying 1 result from an estimated 1 matches for "penttinen".
2010 Apr 14
1
envelope in spatstat
...points <- ppp(x=x,y=y, marks=m, window= wind)
However the marks are alignments (lines), and so have to be treated
differently to normal scalar marks. Hence to create a mcf object with the
appropriate test function for alignment marks, I input 'func' (below)
suggested by Stoyan & Penttinen (1989):
func <- function(m1,m2) { sin(abs(m1-m2))^2}
mcf <- markcorr(points, func, normalise = TRUE, method="density")
So far, so good. However, usinf 'envelope' and 'rlabel' I would like to
check if the pattern in the data is lost when randomly relabeling...