plot.lista | R Documentation |
This function works on the objects of class lista
,
as returned by
localSTLKinhom
or localSTLginhom
, plotting the specified
LISTA functions.
## S3 method for class 'lista'
plot(x, id, ...)
x |
An object of class |
id |
The id of the LISTA to display |
... |
additional unused argument |
Nicoletta D'Angelo
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.
D’Angelo, N., Adelfio, G., and Mateu, J. (2022). Local inhomogeneous second-order characteristics for spatio-temporal point processes on linear networks. Stat Papers. https://doi.org/10.1007/s00362-022-01338-4
localSTLKinhom, localSTLginhom
set.seed(2)
df_net <- data.frame(x = runif(25, 0, 0.85), y = runif(25, 0, 0.85), t = runif(25))
stlp1 <- stp(df_net, L = chicagonet)
lambda <- rep(diff(range(stlp1$df$x)) * diff(range(stlp1$df$y))
* diff(range(stlp1$df$t)) / spatstat.geom::volume(stlp1$L),
nrow(stlp1$df))
k <- localSTLKinhom(stlp1, lambda = lambda, normalize = TRUE)
plot(k, id = 1:9)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.