MapData: Plot tows on a map. This function produces a plot (originally...

View source: R/MapData.r

MapDataR Documentation

Plot tows on a map. This function produces a plot (originally designed by John Wallace) showing tows in strata by depth and latitude. If a folder name is given a plot called TowMap.jpg is created.

Description

Plot tows on a map. This function produces a plot (originally designed by John Wallace) showing tows in strata by depth and latitude. If a folder name is given a plot called TowMap.jpg is created.

Usage

MapData(Data, strata.limits, SA = SA3, FileName = "TowMap.jpg", Folder = NULL)

Arguments

Data

The data frame storing raw tow data

strata.limits

A file (e.g. defaultLimits.csv), indicating an alphabetic character for each strata (A, B, C, ...), as well as the depth and latitude ranges for each stratum.

SA

A flat data file, with area ID, min / max depth, min / max latitude, and the area of each strata in hectares.

FileName

The name of the output file – this will be species and model specific. Defaults to 'TowMap.jpg'

Folder

Where the output is stored


nwfsc-assess/nwfscDeltaGLM documentation built on July 8, 2023, 4:49 a.m.