Imports a Stock Object from a correctly formatted Excel file.
XL2Stock(name = NULL, cpars = NULL, msg = TRUE)
An object of class Stock
Name of the OM Excel file. Provide full file path if not in current directory.
An optional list of custom parameters (single parameters are a vector nsim long, time series are a matrix nsim rows by nyears columns)
Should messages be printed?
A. Hordyk
An error message will alert if any slots are missing values, or if the Excel file is missing the required tabs.