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

plot.linnet

Plot a linear network


Description

Plots a linear network

Usage

## S3 method for class 'linnet'
plot(x, ..., main=NULL, add=FALSE, 
                               vertices=FALSE, window=FALSE,
                               do.plot=TRUE)

Arguments

x

Linear network (object of class "linnet").

...

Arguments passed to plot.psp controlling the plot.

main

Main title for plot. Use main="" to suppress it.

add

Logical. If codeTRUE, superimpose the graphics over the current plot. If FALSE, generate a new plot.

vertices

Logical. Whether to plot the vertices as well.

window

Logical. Whether to plot the window containing the linear network.

do.plot

Logical. Whether to actually perform the plot.

Details

This is the plot method for class "linnet".

Value

An (invisible) object of class "owin" giving the bounding box of the network.

Author(s)

Ang Qi Wei aqw07398@hotmail.com and Adrian Baddeley Adrian.Baddeley@curtin.edu.au

See Also

Examples

plot(simplenet)

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.