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 openMSE packages.

Author(s)

T. Carruthers

See Also

Can Cant avail

Examples

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

Blue-Matter/MSEtool documentation built on Nov. 22, 2024, 8:23 p.m.