swfscMisc (version 1.3)

das.map: Map DAS

Description

Map sightings, effort, and beaufort from DAS file

Usage

das.map(
  x,
  main,
  spp = NULL,
  spp.col = rainbow(length(spp), end = max(1, length(spp) - 2)/length(spp)),
  lat.range = NULL,
  lon.range = NULL,
  n.ticks = 5,
  spp.legend.loc = "topleft",
  effort.legend.loc = "topright"
)

Arguments

x

filename of a DAS file or a data.frame from das.read.

main

main title for plot.

spp

vector of species codes to plot sightings of. If NULL, only effort will be shown.

spp.col

vector of colors for each species.

lat.range, lon.range

latitude and longitude range of map.

n.ticks

number of desired tick marks for latitude and longitude.

spp.legend.loc, effort.legend.loc

the location of the species and effort legends. Can be a single keyword as specified in legend, or a two-element numeric vector giving the x (longitude) and y (latitude) coordinates.