Using TERR for Advanced Analytics in Spotfire
TERR is embedded in Spotfire and is used in various ways.
- You can use the predictive analytics tools built into Spotfire (which use the TERR engine "behind the scenes").
- You can access the engine directly using the TERR Tools in Spotfire to prototype, test, and debug functions.
- You can write ad hoc custom expressions that call TERR functions.
- You can write TERR data functions to store in the Spotfire library to reuse.
This documentation includes reference, information, example data sets, and walk-through tasks to help you learn how to use TERR in Spotfire.
- Data Type Mapping
When you use TERR or open-source R expression functions or data functions in Spotfire, you must know how the supported data types are mapped between TERR (or open-source R) and Spotfire. - Data Dimension Mapping
When you use TERR or open-source R expression functions or data functions in Spotfire, you must know how the supported data dimensions are mapped between TERR (or open-source R) and Spotfire. - Accessing Spotfire Enterprise Runtime for R Directly from Spotfire
You can get direct access to TERR from your Spotfire installation. You can run the console, open an instance of th RStudio IDE that uses the TERR engine, or open the language reference. You can also find the path to the locally-installed TERR engine from Spotfire. - Predictive Modeling
Your data and the kind of analysis you need to do determines the type of prediction to apply. Spotfire provides four types of predictive modeling tools. - 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. - Data Functions
You can write data functions in R, S-PLUS, SAS, or MATLAB to perform statistical analyses and display the results in Spotfire. - Sample Data Sets
For your convenience, this help reference includes sample data sets. You can copy the contents of these tables to Spotfire to use in tasks and exercises to learn how to call TERR expression functions.
- Data Type Mapping
When you use TERR or open-source R expression functions or data functions in Spotfire, you must know how the supported data types are mapped between TERR (or open-source R) and Spotfire. - Data Dimension Mapping
When you use TERR or open-source R expression functions or data functions in Spotfire, you must know how the supported data dimensions are mapped between TERR (or open-source R) and Spotfire. - Accessing Spotfire Enterprise Runtime for R Directly from Spotfire
You can get direct access to TERR from your Spotfire installation. You can run the console, open an instance of th RStudio IDE that uses the TERR engine, or open the language reference. You can also find the path to the locally-installed TERR engine from Spotfire. - Predictive Modeling
Your data and the kind of analysis you need to do determines the type of prediction to apply. Spotfire provides four types of predictive modeling tools. - 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. - Data Functions
You can write data functions in R, S-PLUS, SAS, or MATLAB to perform statistical analyses and display the results in Spotfire. - Sample Data Sets
For your convenience, this help reference includes sample data sets. You can copy the contents of these tables to Spotfire to use in tasks and exercises to learn how to call TERR expression functions.