Skip to contents

The observation of stock abundance by CPUE series from commercial fleets is an important step in the generation of management advice that needs to replicated on an Operating Model during any simulation exercise. This method gemnerates an observation of biomass or numbers-at-age from an FLstock being used as OM.

Usage

cpue(object, index, ...)

# S4 method for FLStock,missing
cpue(
  object,
  sel.pattern = harvest(object),
  effort = units(harvest(object)),
  biomass = TRUE
)

Arguments

object

The object from which to generate the observation.

effort

Units of index to use to mimic effort series in the fishery, "f" or "hr"

sel

The selectivity of the survey, defaults to be 1 for all ages.

mass

Is the index to be in weight at age?

Value

An FLQuant for the index of abundance, age-disaggregated

See also

Author

Laurie Kell & Iago Mosqueira, FLR Team.

Examples


data(ple4)

cpue(ple4)
#> An object of class "FLQuant"
#> , , unit = unique, season = all, area = unique
#> 
#>      year
#> age   1957   1958   1959   1960   1961   1962   1963   1964   1965   1966  
#>   all  78051  83671  94547 105473 107196 114773 131736 135215 136997 160535
#>      year
#> age   1967   1968   1969   1970   1971   1972   1973   1974   1975   1976  
#>   all 149615 142493 138212 127121 132826 141951 140378 140683 152634 170196
#>      year
#> age   1977   1978   1979   1980   1981   1982   1983   1984   1985   1986  
#>   all 158271 167408 160092 175025 179501 184034 198791 215973 229085 242239
#>      year
#> age   1987   1988   1989   1990   1991   1992   1993   1994   1995   1996  
#>   all 274837 303250 276689 238235 205251 181311 173349 146356 122400 120744
#>      year
#> age   1997   1998   1999   2000   2001   2002   2003   2004   2005   2006  
#>   all 141943 153857 164072 142703 118790 134722 148192 143316 110487 114377
#>      year
#> age   2007   2008   2009   2010   2011   2012   2013   2014   2015   2016  
#>   all 106431 118495 120210 121111 115815 128030 135992 133361 129688 121409
#>      year
#> age   2017  
#>   all 108121
#> 
#> units:  t 
# Am aggregated biomass CPUE
quantSums(cpue(ple4))
#> An object of class "FLQuant"
#> , , unit = unique, season = all, area = unique
#> 
#>      year
#> age   1957   1958   1959   1960   1961   1962   1963   1964   1965   1966  
#>   all  78051  83671  94547 105473 107196 114773 131736 135215 136997 160535
#>      year
#> age   1967   1968   1969   1970   1971   1972   1973   1974   1975   1976  
#>   all 149615 142493 138212 127121 132826 141951 140378 140683 152634 170196
#>      year
#> age   1977   1978   1979   1980   1981   1982   1983   1984   1985   1986  
#>   all 158271 167408 160092 175025 179501 184034 198791 215973 229085 242239
#>      year
#> age   1987   1988   1989   1990   1991   1992   1993   1994   1995   1996  
#>   all 274837 303250 276689 238235 205251 181311 173349 146356 122400 120744
#>      year
#> age   1997   1998   1999   2000   2001   2002   2003   2004   2005   2006  
#>   all 141943 153857 164072 142703 118790 134722 148192 143316 110487 114377
#>      year
#> age   2007   2008   2009   2010   2011   2012   2013   2014   2015   2016  
#>   all 106431 118495 120210 121111 115815 128030 135992 133361 129688 121409
#>      year
#> age   2017  
#>   all 108121
#> 
#> units:  t 

if (FALSE) {
plot(FLQuants(om=stock(ple4), cpue=quantSums(cpue(ple4)),
  hr=quantSums(cpue(ple4, effort="hr"))))
}