plot.sepstppm {stopp}R 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 'sepstppm'
plot(
  x,
  scaler = c("silverman", "IQR", "sd", "var"),
  do.points = TRUE,
  print.bw = FALSE,
  zap = 1e-05,
  par = TRUE,
  sig = NULL,
  ...
)

Arguments

x

An object of class sepstppm

scaler

Optional. Controls the value for a scalar representation of the spatial scale of the data. Either a character string, "silverman" (default), "IQR", "sd", or "var"; or positive numeric value(s). See OS.

do.points

Add points to plot

print.bw

It prints the estimated oversmoothing (OS) bandwidth selector

zap

Noise threshold factor (default to 0.00001). A numerical value greater than or equal to 1. If the range of pixel values is less than zap * .Machine$double.eps, the image will be treated as constant. This avoids displaying images which should be constant but contain small numerical errors.

par

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

sig

Smoothing bandwidth for spatial representation

...

additional unused argument

Author(s)

Nicoletta D'Angelo

Examples


crimesub <- stpm(valenciacrimes$df[1:100, ],
           names = colnames(valenciacrimes$df)[-c(1:3)])

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


[Package stopp version 0.2.4 Index]