R/fisheryYear.R

Defines functions fisheryYear

Documented in fisheryYear

#'
#'@title Returns the crab fishery year as a character string
#'
#'@description Function to generate a character string representing a crab fishery year.
#'
#'@param year - the year (as of July 1) of the fishery
#'
#'@return the fishery year as a character string. For 2014, this would be '2014/15'
#'
#'@details None.
#'
#'@export
#'
fisheryYear<-function(year){
    str<-paste(year,'/',(year+1)%%100,sep='');
    return(str);
}
wStockhausen/rPIBKC documentation built on April 25, 2023, 6:50 p.m.