harvests | R Documentation |
Fishing mortalities and harvest rates can be calculated for a combination of FLBiol and FLFishery/FLFisheries using the harvest() method.
harvests(object, catches, ...)
## S4 method for signature 'FLBiol,FLFisheries'
harvests(object, catches, fcb = rep(1, length(catches)), units = c("f", "hr"))
## S4 method for signature 'FLBiol,FLFishery'
harvest(object, catch, fcb = 1)
## S4 method for signature 'FLBiol,FLFisheries'
harvest(object, catch, fcb = 1)
## S4 method for signature 'FLBiols,FLFisheries'
harvest(object, catch, fcb = FCB(object, catch))
## S4 method for signature 'FLBiols,FLFishery'
harvest(object, catch, fcb = FCB(object, FLFisheries(catch)))
## S4 method for signature 'FLBiol,FLCatch'
harvest(object, catch)
## S4 method for signature 'FLBiol'
fbar(
object,
fisheries,
range = dims(object)[c("min", "max")],
minfbar = range$min,
maxfbar = range$max,
...
)
## S4 method for signature 'FLBiols'
fbar(
object,
fisheries,
range = lapply(object, function(x) dims(x)[c("min", "max")]),
...
)
object |
Object containing population abundances, of class FLBiol. |
catches |
Object containing catches in number of the population represented by object, class FLFisheries. |
... |
Other things |
fcb |
A vector indicating the correspondance, by position of name, between object and the FLCatch elements inside catches, and of the same length. |
units |
Should output be in terms of fishing mortaloty ('f') or harvest rate ('hr'). |
catch |
Object containing catches in number of the population represented by object, class FLFishery. |
The calculated fishing mortalities, or havest rates, are returned, in the case of harvest, disaggregated by fishery, as an FLQuants list. For a single FLFishery object, a single FLQuant is obtained.
An object of class FLQuant or FLQuants.
The FLR Team
FLCore::harvest()
data(nsfishery)
harvests(ple, nsfleet)
harvest(ple, nsfleet[["bt"]], fcb="ple")
harvest(ple, nsfleet)
data(nsfishery)
bis <- FLBiols(ple=ple, sol=sol)
harvest(bis, nsfleet)
harvest(bis, nsfleet[[1]])
harvest(ple, nsfleet[["bt"]][["ple"]])
fbar(ple, fisheries=nsfleet, minfbar=3, maxfbar=6)
fbar(ple, fisheries=nsfleet[["bt"]], minfbar=3, maxfbar=6)
fbar(FLBiols(ple=ple, sol=sol), nsfleet)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.