View source: R/backwardCompatibility.R
gmvar_to_gsmvar | R Documentation |
gmvar_to_gsmvar
class 'gmvar' objects compatible with the functions using
s class 'gsmvar' objects
gmvar_to_gsmvar(gsmvar)
gsmvar |
a class 'gmvar' or 'gsmvar' object. |
This exists so that models estimated with earlier versions of the package can be used conveniently.
If the provided object has the class 'gsmvar', the provided object
is returned without modifications. If the provided object has the class 'gmvar',
its element $model
is given a new subelement called also model and this is
set to be "GMVAR". Also, the class of this object is changes to 'gsmvar' and then
it is returned.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.