SubOM | R Documentation |
A function that strips out a Stock, Fleet, Obs, or Imp object from a complete OM object. Mainly used for internal functions.
SubOM(OM, Sub = c("Stock", "Fleet", "Obs", "Imp"))
OM |
An operating model object (class OM) |
Sub |
A character string specifying what object type to strip out "Stock", "Fleet", "Obs", or "Imp" |
An object of class Stock, Fleet, Obs, or Imp
A. Hordyk
Sub for subsetting MSE output and SubCpars for subsetting by simulation and projection years.
Stock <- SubOM(testOM, "Stock")
class(Stock)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.