avail {MSEtool} | R Documentation |
What objects of this class are available
Description
Generic class finder
Usage
avail(classy, package = NULL, msg = TRUE, abc = FALSE)
Arguments
classy |
A class of object (character string, e.g. 'Fleet') |
package |
Optional. Names(s) of the package to search for object of class |
msg |
Print messages? |
abc |
Logical, whether to alphabetize the results. By default, the function returns results found in
the global environment, then core openMSE packages, and any additional packages in argument |
Details
Finds objects of the specified class in the global environment or the openMSE packages.
Author(s)
T. Carruthers
See Also
Examples
avail("OM", msg=FALSE)
Stocks <- avail("Stock")
Fleets <- avail("Fleet")
MPs <- avail("MP")
[Package MSEtool version 3.7.4 Index]