autoplot.fm_mesh_2d_intensity: Plot a Mesh Object

View source: R/priorityMesh.R

autoplot.fm_mesh_2d_intensityR Documentation

Plot a Mesh Object

Description

Function to plot a fm_mesh_2d_intensity object. This object type is what is returned from the priorityMesh function.

Usage

## S3 method for class 'fm_mesh_2d_intensity'
autoplot(object, ...)

Arguments

object

A fm_mesh_2d_intensity object created from the priorityMesh function.

...

A series of named parameters prefixed with "intensity.", "mesh.", "initialLocs.", "boundary." to pass parameters to the geom_sf or geom_spatraster geometry functions that determine the plotting behaviour of the intensity surface, mesh, initial triangulation nodes, and boundary polygon respectively. Is is also possible to specify other arguments that control the look of elements related to the aesthetic properties of the plot, see 'Details' below.

Details

In addition to the arguments outlined above, the user may also set the following optional arguments that control the look of elements related to the aesthetic properties of the plot:

show.intensity

A logical that if TRUE (the default) displays the intensity surface.

show.initialLocs

A logical that if TRUE (the default) displays the initial triangulation points.

show.boundary

A logical that if TRUE (the default) displays the boundary.

low.intensity.col

A character scalar containing the colour to use for the cells with the lowest intensity values in the intensity surface.

high.intensity.col

A character scalar containing the colour to use for the cells with the highest intensity values in the intensity surface.

na.intensity.col

A character scalar containing the colour to use for the cells with an NA value in the intensity surface.

provided.initialLocs.col

A character scalar containing the colour to use to plot the points that were provided by the user as initial triangulation nodes.

generated.initialLocs.col

A character scalar containing the colour to use to plot the points that were generated by the priorityMesh function.

Value

A ggplot object

Author(s)

Joseph D. Chipperfield, joechip90@googlemail.com

See Also

fm_mesh_2d_inla priorityMesh geom_sf geom_spatraster


joechip90/PaGAn documentation built on April 17, 2025, 4:05 p.m.