plot.stlp {stopp}R Documentation

Plot a stlp object

Description

This function plots the point pattern on a linear network stored in the stlp object given in input, in a three panel plot representing the plot3D of the coordinates, and the marginal spatial and temporal coordinates.

Usage

## S3 method for class 'stlp'
plot(x, tcum = TRUE, marg = TRUE, col = 1, cols = "grey", ...)

Arguments

x

An object of class stp

tcum

If TRUE (default option), the temporal point pattern is displayed cumulatively. A barplot is automatically plotted if there are repeated counts (typically with discrete times).

marg

Default to TRUE. If FALSE, only the spatio-temporal point pattern is plotted.

col

The color of the points. Default to "black"

cols

The color of the linear network. Default to "grey"

...

additional unused argument

Author(s)

Nicoletta D'Angelo

See Also

stp, summary.stlp, print.stlp

Examples



set.seed(2)
df_net <- data.frame(cbind(runif(100, 0, 0.85), runif(100, 0, 0.85), runif(100)))

stlp1 <- stp(df_net, L = chicagonet)

plot(stlp1)


[Package stopp version 0.2.4 Index]