getFisheryWeights: Function for getting weights to apply to the strata based on...

Description Usage Arguments

View source: R/pelfoss.R

Description

Function for getting weights to apply to the strata based on the landings.

Usage

1
getFisheryWeights(fisheryFile, stratumFile, strata, startdate, numdays)

Arguments

fisheryFile

The path to the csv file containing the catches from the fishery. The file must contain the columns DATE, in the format "yyyy-mm-dd", VEKT, and LON and LAT in decimal degrees.

stratumFile

A file with strata definitions readable by readStrataPolygons.

strata

a vector of names of the strata to include.

startdate

A string of the start date of the survey, given as "d/m"

numdays

An integer giving the number of days to use for the survey.


Sea2Data/pelfoss documentation built on Dec. 7, 2020, 12:31 a.m.