Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To create a function variable:

  1. Click TransformFunction variable in the menu.

  2. Enter a function Name for the new function variable, for example: Temperature-Average.

  3. Enter a Title. If there is a title the function name is displayed as: Function Name - Title. 

  4. Enter a Unit, for example: deg. C. 

  5. Select the appropriate Output type: Numeric or Symbolic.

  6. Select Language for the script. Options: JavaScript, Common Lisp, R or Python. 

  7. Enter a function Script and add variable from the list as required (Item selection) and click on the Arrow to put them in the script area. 

    The standard Script is executed for each row, the result is the last evaluated expression.

  8. Click on Template and select from the list of template functions. On the left part of the window, you can see the function. Then click Insert  and the script example will be written on the script area. The templates are only available in Javascript

  9. Click Save.

Panel
panelIconIdatlassian-info
panelIcon:info:
bgColor#F4F5F7

Function Initializer

The Function Initializer is executed only once, and is intended to put some calculations available for each row such as global counter.

...