plot.simsmolt: plot

View source: R/plot.simsmolt.R

plot.simsmoltR Documentation

plot

Description

Map simulated track

Usage

## S3 method for class 'simsmolt'
plot(
  x,
  data = NULL,
  xlim = NULL,
  ylim = NULL,
  raster = "ts",
  res = 5,
  esrf = TRUE,
  layer = NULL,
  rec = FALSE,
  track = TRUE,
  last = FALSE,
  ts.plots = FALSE,
  alpha = 0.5,
  lwd = 0.2,
  size = 0.2,
  col = c("salmon", "red", "dodgerblue"),
  pal = "Light Grays",
  maxp = 50000,
  landfill = grey(0.6),
  crs = "+proj=laea +lat_0=41 +lon_0=-71 +units=km +datum=WGS84",
  ...
)

Arguments

x

a fitted object of class simsmolt

data

data object created by sim_setup

xlim

plot x limits

ylim

plot y limits

raster

select a raster (from data) to use as background (bathy, uv, or NULL)

res

downsampling factor to product a plot faster (default = 5, full-resolution = 0)

rec

should receiver locations be displayed (logical)

track

should smolt track(s) be displayed (logical)

last

display position at end of simulation only (logical; if T then track forced to be F)

alpha

translucence for smolt track(s)

lwd

width of smolt track(s)

size

of smolt track end point(s)

col

colour for receiver locations


ianjonsen/simsmolt documentation built on July 11, 2022, 12:29 p.m.