plot.sepstlppm: Plot of the fitted intensity of a separable spatio-temporal...

View source: R/plot.sepstlppm.R

plot.sepstlppmR Documentation

Plot of the fitted intensity of a separable spatio-temporal Poisson model

Description

The function plots the fitted intensity, displayed both in space and in space and time.

Usage

## S3 method for class 'sepstlppm'
plot(x, do.points = TRUE, par = TRUE, ...)

Arguments

x

An object of class sepstlppm

do.points

Add points to plot

par

Default to TRUE. If par=FALSE, the user is asked for input, before a new figure is drawn.

...

additional unused argument

Author(s)

Nicoletta D'Angelo

Examples


crimesub <- stpm(valenciacrimes$df[101:200, ],
           names = colnames(valenciacrimes$df)[-c(1:3)],
L = valencianet)

mod1 <- sepstlppm(crimesub, spaceformula = ~x ,
                  timeformula = ~ day)
                  
plot(mod1)


stopp documentation built on May 29, 2024, 12:32 p.m.