Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

plot.lppm

Plot a Fitted Point Process Model on a Linear Network


Description

Plots the fitted intensity of a point process model on a linear network.

Usage

## S3 method for class 'lppm'
plot(x, ..., type="trend")

Arguments

x

An object of class "lppm" representing a fitted point process model on a linear network.

...

Arguments passed to plot.linim to control the plot.

type

Character string (either "trend" or "cif") determining whether to plot the fitted first order trend or the conditional intensity.

Details

This function is the plot method for the class "lppm". It computes the fitted intensity of the point process model, and displays it using plot.linim.

The default is to display intensity values as colours. Alternatively if the argument style="width" is given, intensity values are displayed as the widths of thick lines drawn over the network.

Value

Null.

Author(s)

See Also

Examples

X <- runiflpp(10, simplenet)  
  fit <- lppm(X ~x)
  plot(fit)
  plot(fit, style="width")

spatstat.linnet

Linear Networks Functionality of the 'spatstat' Family

v2.1-1
GPL (>= 2)
Authors
Adrian Baddeley [aut, cre], Rolf Turner [aut], Ege Rubak [aut], Ottmar Cronie [ctb], Tilman Davies [ctb], Greg McSwiggan [ctb], Suman Rakshit [ctb]
Initial release
2021-03-28

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.