print.localtest {stopp}R Documentation

Print of the result of the permutation local test

Description

It prints the main information on the result of the local permutation test performed with localtest on either a stp or stlp object: whether the local test was run on point patterns lying on a linear network or not; the number of points in the background X and alternative Z patterns; the number of points in X which exhibit local differences in the second-order structure with respect to Z, according to the performed test.

Usage

## S3 method for class 'localtest'
print(x, ...)

Arguments

x

An object of class localtest

...

additional unused argument

Author(s)

Nicoletta D'Angelo

References

D’Angelo, N., Adelfio, G., and Mateu, J. (2021). Assessing local differences between the spatio-temporal second-order structure of two point patterns occurring on the same linear network. Spatial Statistics, 45, 100534.

Siino, M., Rodríguez‐Cortés, F. J., Mateu, J. ,and Adelfio, G. (2018). Testing for local structure in spatiotemporal point pattern data. Environmetrics, 29(5-6), e2463.

See Also

localtest, summary.localtest, plot.localtest

Examples




set.seed(2)
X <- rstpp(lambda = function(x, y, t, a) {exp(a[1] + a[2]*x)},
            par = c(.005, 5))
Z <- rstpp(lambda = 30)

test <- localtest(X, Z, method = "K", k = 3)

test





[Package stopp version 0.2.4 Index]