dg.test(X, ...,
exponent = 2, nsim=19, nsimsub=nsim-1,
alternative=c("two.sided", "less", "greater"),
interpolate = FALSE,
savefuns=FALSE, savepatterns=FALSE,
verbose = TRUE)
"ppp"
,
"lpp"
or "pp3"
) or a fitted point process model
(object of class "ppm"
, "kppm"
or "slrm"
).exponent=2
for the Diggle-Cressie-Loosmore-Ford test, and exponent=Inf
for the Maximum Absolute Deviation test.nsim
repetitions of the basic test, each involving nsimsub
simulated
realisations, so there will be a total
of nsim * (nsimsub + 1)
simulations.alternative="two.sided"
) is that the
true value of the summary function is not equal to the theoretical
value postulated under the null hypothesis.
If
"htest"
which can be printed to show the outcome of the test.X
is a point pattern, the null hypothesis is CSR. If X
is a fitted model, the null hypothesis is that model.
Baddeley, A., Hardegen, A., Lawrence, L., Milne, R.K., Nair, G.M. and Rakshit, S. (2015) Pushing the envelope: extensions of graphical Monte Carlo tests. Submitted for publication.
dclf.test
,
mad.test
ns <- if(interactive()) 19 else 4
dg.test(cells, nsim=ns)
dg.test(cells, alternative="less", nsim=ns)
dg.test(cells, nsim=ns, interpolate=TRUE)
Run the code above in your browser using DataLab