Plot the spatial grid of any momo object that contains a grid.
Usage
plotmomo.grid(
x,
main = "Grid",
labels = TRUE,
plot.land = FALSE,
keep.gpar = FALSE,
xlab = "x",
ylab = "y",
bg = NULL,
...
)
Arguments
- x
a grid or a list of class
momo.data
,momo.sim
, ormomo.fit
.- main
a main title for the plot. Default: "Grid".
- labels
logical; If
TRUE
(default), plot numbers in cells.- plot.land
logical; If
TRUE
, plot land masses using the function maps::map. Default:FALSE
.- keep.gpar
logical; If
TRUE
, do not overwrite the graphical parameters. Default:FALSE
.- xlab
a label for the x axis. Default: "x".
- ylab
a label for the y axis. Default: "y".
- bg
background color of the graphical window. By default (
NULL
), background is transparent.- ...
additional arguments for the function plot.
Examples
data(skjepo)
plotmomo.grid(skjepo$grid)