Expression Functions
You can call a TERR script directly from the Spotfire expression language. Using a TERR expression function, you can perform an ad hoc analysis quickly and easily.
For ad-hoc expressions, you can embed the contents of a script directly in your expression language call. Alternatively, you can write a TERR script, and then register it as an expression function for use anytime from the Custom Expression dialog box in Spotfire.
After you have created an expression function, you can reopen it, edit it, and rerun it.
- Built-In TERR Expression Functions in Spotfire
In the Spotfire Custom Expressions or Insert Calculated Column dialog box, from the Function list, you can select one of the built-in TERR expression functions provided for advanced statistical analysis. - Registering the TERR Script as an Expression Function
You can create write a TERR function, register it in Spotfire to call as an expression, and then use it in any analysis from the Custom Expression and Insert Calculated Column dialog boxes. You can also edit the saved expression function from the Spotfire user interface. - Embedding the Contents of a Script in an Expression Function
In the Insert Calculated Column or Custom Expression dialog box, you can use one of the Spotfire statistical functions, and embed a TERR script in the expression. - Aggregating Binned Weather Data Using TERR in Spotfire
Using a TERR expression function to aggregate data, you can create a Spotfire visualization that provides greater insight. This simple, generic example adds a custom expression, demonstrating how you might use these functions, and others like them, in your own analyses. - Expression Function Editing
After creating and saving an expression function in Spotfire, you can edit it. You can edit an expression function that is saved and registered in the function list, or that is an ad-hoc expression.
- Built-In TERR Expression Functions in Spotfire
In the Spotfire Custom Expressions or Insert Calculated Column dialog box, from the Function list, you can select one of the built-in TERR expression functions provided for advanced statistical analysis. - Registering the TERR Script as an Expression Function
You can create write a TERR function, register it in Spotfire to call as an expression, and then use it in any analysis from the Custom Expression and Insert Calculated Column dialog boxes. You can also edit the saved expression function from the Spotfire user interface. - Embedding the Contents of a Script in an Expression Function
In the Insert Calculated Column or Custom Expression dialog box, you can use one of the Spotfire statistical functions, and embed a TERR script in the expression. - Aggregating Binned Weather Data Using TERR in Spotfire
Using a TERR expression function to aggregate data, you can create a Spotfire visualization that provides greater insight. This simple, generic example adds a custom expression, demonstrating how you might use these functions, and others like them, in your own analyses. - Expression Function Editing
After creating and saving an expression function in Spotfire, you can edit it. You can edit an expression function that is saved and registered in the function list, or that is an ad-hoc expression.
Parent topic: Using TERR for Advanced Analytics in Spotfire
Related concepts
Related reference