Plot the habitat preference in space.
Usage
plotmomo.pref.spatial(
x,
type = "taxis",
col = hcl.colors(14, "YlOrRd", rev = TRUE),
ci = 0.95,
plot.land = FALSE,
keep.gpar = FALSE,
add = FALSE,
xlab = "x",
ylab = "y",
bg = NULL,
...
)
Arguments
- x
a list of class
momo.sim
ormomo.fit
.- type
the process that should be plotted, either "taxis" (default) or "diffusion".
- col
colors of heatmap. By default, using function grDevices::hcl.colors:
hcl.colors(14, "YlOrRd", rev = TRUE)
.- ci
level for confidence intervals. Default:
0.95
.- 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
.- add
logical; if
TRUE
, no new graphical window is created and tags are added to existing graphical window. 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.