assignAnchovy_season: Title Assing anchovy season

Description Usage Arguments Value Examples

View source: R/imarpe-auxiliar.R

Description

Using the historical records of the opening and closing of anchovy fishing by regions (north-central and south), this function can identify the anchovy season.

Usage

1

Arguments

x

A vector of date (with day, month and year) in the format Date.

region

A object indicating if is the north-central region ('norte-centro') or if is the south region ('sur').

Value

A object with the season code.

Examples

1
2
3
4
5
# Construct a vector of dates

exampleDates = as.Date(c("20/01/2013", "30/01/1999"), format = "%d/%m/%Y")

assignAnchovy_season(exampleDates, region = "norte-centro")

imarpe/imarpe documentation built on Aug. 8, 2020, 8:40 p.m.