drop.from.control | R Documentation |
Drops multiple surveys or age groups from an FLSAM.control object
drop.from.control(object, fleets="missing",ages="missing")
object |
An |
fleets |
A vector containing the names of the fleets to be dropped |
ages |
A vector containing the names of the age groups to be dropped |
This function can be used to modify an FLSAM.control
object by removing one or more fleets, or one or more age groups from the object. Changes in the sequence of bindings that may arise due to the removal of a fleet or age group are corrected for using the update
function.
An FLSAM.control object
Mark R. Payne.
update
, FLSAM.control
#Load assessment
library(FLSAM)
data(NSH)
#NSH.ctrl before dropping
NSH.ctrl
#Drop MLAI index
drop.from.control(NSH.ctrl,fleets="MLAI")
#Drop ages 8 and 9
drop.from.control(NSH.ctrl,ages=8:9)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.