avail: What objects of this class are available

View source: R/Misc_Exported.R

availR Documentation

What objects of this class are available

Description

Generic class finder

Usage

avail(classy, package = NULL, msg = TRUE)

Arguments

classy

A class of object (character string, e.g. 'Fleet')

package

Optional. Names(s) of the package to search for object of class classy. String Default is all openMSE packages. Always searches the global environment as well.

msg

Print messages?

Details

Finds objects of the specified class in the global environment or the DLMtool package.

Author(s)

T. Carruthers

See Also

Can Cant avail

Examples

avail("OM", msg=FALSE)
Stocks <- avail("Stock")
Fleets <- avail("Fleet")
MPs <- avail("MP")

MSEtool documentation built on June 8, 2022, 1:06 a.m.