Learn R Programming

r4ss (version 1.16)

SSplotMovementRates: Show movement rates on a map.

Description

Make a map with colored spatial cells and add arrows representing movement rates between cells.

Usage

SSplotMovementRates(replist, subplots=1:2, colvec="default",
  ylim="default", legend=TRUE, legendloc="topleft", moveseas="all",
  cex.main=1, verbose=TRUE)

Arguments

replist
list created by SS_output
subplots
which subplots to create
colvec
vector of colors for each movement rate in the plot
ylim
optional input for y range of the plot. By default plot ranges from 0 to 10% above highest movement rate (not including fish staying in an area).
legend
add a legend designating which color goes with which pair of areas?
legendloc
location passed to legend function (if used)
moveseas
choice of season for which movemement rates are shown
cex.main
Character expansion parameter for plot titles
verbose
Print information on function progress.

Value

    Examples

    Run this code
    SSplotMovementRates(myreplist)

    Run the code above in your browser using DataLab