Learn R Programming

r4ss (version 1.18)

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, plot=TRUE, print=FALSE, subplots=1:2,
           plotdir="default",
           colvec="default", ylim="default", 
           legend=TRUE, legendloc="topleft",
           moveseas="all",
           pwidth=7,pheight=7,punits="in",res=300,
           ptsize=12,cex.main=1,
           verbose=TRUE)

Arguments

replist
list created by SS_output
plot
plot to active plot device?
print
print to PNG files?
subplots
which subplots to create
plotdir
where to put the plots (uses model directory by default)
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
pwidth
width of plot written to PNG file
pheight
height of plot written to PNG file
punits
units for PNG file
res
resolution for PNG file
ptsize
ptsize for PNG file
cex.main
Character expansion parameter for plot titles
verbose
Print information on function progress.

See Also

SS_output, SSplotMovementRates, IOTCmove

Examples

Run this code
SSplotMovementRates(myreplist)

Run the code above in your browser using DataLab