
Higher-Dimensional Spaces and Marks 647
The default for the test function f is the same as for markcorr, described above. The result of
Kmark is an "fv" objec t, or a list of "fv" o bjects if X has a data frame of marks. The addition al
argument returnL=TRUE can be used as a shortcut to compute L
f
(r) instead of K
f
(r).
> smki <- Kmark(spruces, returnL=TRUE)
> smke <- envelope(spruces, Kmark, returnL=TRUE,
simulate=expression(rlabel(spruces)),
nsim=1999, nrank=50, savefuns=TRUE)
Figure 15.9 shows the estimate of L
f
(r) and the pointwise 5% significance envelopes based o n 1 999
simulations of random labelling. The apparent deviation should be investigated ...