Make a map with colored spatial cells and add arrows representing movement rates between cells.
SSplotMovementMap(
replist = NULL,
xlim,
ylim,
polygonlist,
colvec,
land = "grey",
xytable = NULL,
moveage = 5,
moveseas = 1,
lwdscale = 5,
legend = TRUE,
title = NULL,
areanames = NULL,
cex = 1
)
A list object created by SS_output()
.
range of longitude values in the map
range of latitude values in the map
a list of data frames, each with two columns representing the longitude and latitude values of the colored polygons. The order of elements in the list should match the numbering of areas in the SS model.
vector of colors for each polygon (if replist
is
provided)
color of landmasses in the map
data frame of latitude and longitude values which will be
connected by the arrows representing movement rates. The order should match
the order of areas in polygonlist
and in the SS model. Not necessary
if no arrows are shown on the map.
age for which movement rates will be represented
season for which movement rates will be represented
scaling factor for arrows in the plot. The largest rate of movement shown will be scaled to have a line width equal to this value.
add a legend to show the movement rate associated with the widest arrows
optional title to be added above map
optional vector of names to be shown on map at coordinates matching xytable values
character expansion to apply to text shown by areanames (if used)