Calling a Function

Add a function to your model, so it can perform one or more tasks. Use a function call to initialise the expression.

Implementation:

  1. Switch to the Definition tab.
  2. Create a question with the type set to Expression.
  3. Enter a function in the Expression to Evaluate field.
  4. Click the Edit Expression button.
  5. In the Expression Editor use the Output panel to view the expression's result.
  6. Click Save Question.