Difference between revisions of "Working with functions"
(→Modeled Variables) |
(→Modeled Variables) |
||
Line 9: | Line 9: | ||
When you import a function, you are given the option to define its outputs variable to be a new model of an existing variable in your data set. Regardless of what you choose, the output of the function will be added to your data set as a new variable. If you select a variable from the list, Rave will note that the selected variable and the new variable that you are creating are linked in the sense that they both represent the same physical quantity, though they may have different numerical values since they come from different sources. | When you import a function, you are given the option to define its outputs variable to be a new model of an existing variable in your data set. Regardless of what you choose, the output of the function will be added to your data set as a new variable. If you select a variable from the list, Rave will note that the selected variable and the new variable that you are creating are linked in the sense that they both represent the same physical quantity, though they may have different numerical values since they come from different sources. | ||
− | Currently this linking does not affect Rave in any way. | + | '''Currently this linking does not affect Rave in any way. ''' |
In the future, you will be able to perform some special tasks with variables that are linked in this way. | In the future, you will be able to perform some special tasks with variables that are linked in this way. | ||
− | Note: Whenever you create a surrogate model, it is automatically linked as a model of the variable it is based on. | + | Note: Whenever you create a surrogate model, it is automatically linked as a model of the variable it is based on. |
− | + | ||
==Function files created by Rave== | ==Function files created by Rave== |
Revision as of 16:04, 3 December 2011
Introduction
When you import a function, a new variable is created for each of the function's outputs, and each output becomes a new column in your data set. You can use these new variables just like you use any other variable in your data set. However, variables that were calculated by functions also have some special properties that let you customize how Rave handles them.
Modeled Variables
When you import a function, you are given the option to define its outputs variable to be a new model of an existing variable in your data set. Regardless of what you choose, the output of the function will be added to your data set as a new variable. If you select a variable from the list, Rave will note that the selected variable and the new variable that you are creating are linked in the sense that they both represent the same physical quantity, though they may have different numerical values since they come from different sources.
Currently this linking does not affect Rave in any way.
In the future, you will be able to perform some special tasks with variables that are linked in this way.
Note: Whenever you create a surrogate model, it is automatically linked as a model of the variable it is based on.