SubOM {MSEtool} | R Documentation |
Subset a Stock, Fleet, Obs, or Imp object from an OM object
Description
A function that strips out a Stock, Fleet, Obs, or Imp object from a complete OM object. Mainly used for internal functions.
Usage
SubOM(OM, Sub = c("Stock", "Fleet", "Obs", "Imp"))
Arguments
OM |
An operating model object (class OM) |
Sub |
A character string specifying what object type to strip out "Stock", "Fleet", "Obs", or "Imp" |
Value
An object of class Stock, Fleet, Obs, or Imp
Author(s)
A. Hordyk
See Also
Sub for subsetting MSE output and SubCpars for subsetting by simulation and projection years.
Examples
Stock <- SubOM(testOM, "Stock")
class(Stock)
[Package MSEtool version 3.7.1 Index]