oem: oem

survey,FLStock-methodR Documentation

oem

Description

Creates an FLQuant to represent an index of relative abundance

Usage

## S4 method for signature 'FLStock'
survey(
  object,
  timing = FLQuant(0, dimnames = dimnames(m(object))),
  wt = stock.wt(object),
  sd = 0,
  log = FALSE,
  ...
)

Arguments

object

FLStock for which an index is to be generated

timing

blah,blah,blah,...

...

any additional arguments

sel

FLQuant vector at age that shapes the catch or biomass. additive, by default set to TRUE,

fish.dependent

logical that determines whether the index is proportional to the stock or catch/effort, by default set to TRUE

effort

character c("h","f") that determines what proxy to use for effort, i.e. harvest rate or instanteous fishing mortality

mass

logical default is TRUE, whether index is in mass or numbers

Value

FLQuant with time series

FLQuant with time series

Examples

## Not run: 
 data(ple4) 
 cpue <- oem(ple4) 
 
## End(Not run)

## Not run: 
 data(ple4) 
 cpue=oem(ple4) 
 
## End(Not run)

flr/mydas documentation built on Jan. 19, 2024, 10:33 a.m.