localplot {stopp}R Documentation

Plot the coefficients of a fitted local spatio-temporal Poisson process or local LGCP model

Description

The function plots the local estimates of a fitted local spatio-temporal Poisson process or local LGCP model

Usage

localplot(x, par = TRUE)

Arguments

x

An object of class locstppm or stlgcppm

par

Default to TRUE.

Author(s)

Nicoletta D'Angelo

References

D'Angelo, N., Adelfio, G., and Mateu, J. (2023). Locally weighted minimum contrast estimation for spatio-temporal log-Gaussian Cox processes. Computational Statistics & Data Analysis, 180, 107679.

See Also

locstppm, stlgcppm

Examples



# Local spatio-temporal Poisson process model

set.seed(2)
inh <- rstpp(lambda = function(x, y, t, a) {exp(a[1] + a[2]*x)}, 
             par = c(0.005, 5))
inh_local <- locstppm(inh, formula = ~ x)

localplot(inh_local)

# Local LGCP
catsub <- stp(greececatalog$df[1:200, ])

lgcp_loc <- stlgcppm(catsub, formula = ~ x, first = "local")

localplot(lgcp_loc)







[Package stopp version 0.2.4 Index]