mapsim: mapsim

View source: R/mapsim.R

mapsimR Documentation

mapsim

Description

Produce a simple map of simulated track(s) with or without receivers

Usage

mapsim(
  x,
  data = NULL,
  xlim = NULL,
  ylim = NULL,
  res = 2,
  rec = TRUE,
  track = TRUE,
  last = TRUE,
  det = TRUE,
  dt = NULL,
  ol = TRUE,
  hl = "orange",
  tcol = "salmon",
  alpha = 0.5,
  lwd = 0.25,
  reccol = "blue",
  detcol = "red",
  pal = "Blues 3",
  prj = "+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

res

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

rec

should receiver locations be displayed (logical)

alpha

translucence for smolt track(s)

lwd

width of smolt track(s)

col

colour for receiver locations

size

of smolt track end point(s)


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