plot.stp {stopp} | R Documentation |
Plot a stp
object
Description
This function plots the point pattern stored in the stp object given in input, in a three panel plot representing the 3Dplot of the coordinates, and the marginal spatial and temporal coordinates.
Usage
## S3 method for class 'stp'
plot(x, tcum = TRUE, marg = TRUE, col = 1, ...)
Arguments
x |
An object of class |
tcum |
If |
marg |
Default to |
col |
The color of the points. Default to |
... |
additional unused argument |
Author(s)
Nicoletta D'Angelo
See Also
Examples
set.seed(2)
df <- data.frame(cbind(runif(100), runif(100), runif(100)))
stp1 <- stp(df)
#plot
plot(stp1)
#cumulative time occurrances
plot(stp1, tcum = FALSE)
#change color of points
plot(stp1, col = "blue")
#display only in space-time
plot(stp1, marg = FALSE)
#discrete times
set.seed(2)
stp2 <- stp(data.frame(cbind(runif(100), runif(100), round(runif(100) * 100))))
plot(stp2)
[Package stopp version 0.2.4 Index]