SubOM: Subset a Stock, Fleet, Obs, or Imp object from an OM object

Description Usage Arguments Value Author(s) Examples

View source: R/OM_functions.R

Description

A function that strips out a Stock, Fleet, Obs, or Imp object from a complete OM object. Mainly used for internal functions.

Usage

1
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

Examples

1
2
Stock <- SubOM(DLMtool::testOM, "Stock")
class(Stock)

DLMtool documentation built on March 13, 2020, 2:52 a.m.