Gets a Variable object that refers to a dependent variable. A Variable object contains information about a variable, such as its name, whether it is exogenous, etc.
Syntax
result = object.toVariable
The toVariable property syntax has the following parts: