Learn R Programming

MSEtool (version 3.1.1)

avail: 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.

See Also

Can Cant avail

Examples

Run this code
# NOT RUN {
avail("OM", msg=FALSE)
Stocks <- avail("Stock")
Fleets <- avail("Fleet")
MPs <- avail("MP")
# }

Run the code above in your browser using DataLab