get_obj_name: Get the actual name of the object for the base name object....

View source: R/make-rmd.R

get_obj_nameR Documentation

Get the actual name of the object for the base name object. e.g. stock object may have a suffix and be stock_pc <- new("Stock") or similar Assumes the first instance of stock* <- contains the object name

Description

Get the actual name of the object for the base name object. e.g. stock object may have a suffix and be stock_pc <- new("Stock") or similar Assumes the first instance of stock* <- contains the object name

Usage

get_obj_name(rmd, obj_base_name)

Arguments

rmd

Lines of an Rmd file as read in by readLines()

obj_base_name

The base name of an object, i.e. stock, fleet, obs, or imp


pbs-assess/ggmse documentation built on Nov. 21, 2023, 8:06 p.m.