# Defining a Data Function

You can modify the definition of an existing Statistica Data Function from the currently open analysis.

## Prerequisites

The button is enabled only if a data function is selected from the list.

## Procedure

1. To make changes to the data function definition, click Define.
   The Edit Data Function Definition dialog box opens.
2. You can modify the Name, Description, Embed setting, and Cache setting.
3. To modify the Data Function definition, you can select or deselect the workspace elements under Inputs, Parameters, and Outputs tabs.
   - Inputs: Contains a list of Input Nodes that can be used as input parameters of type Table. Data from Spotfire Data Tables can be passed into such parameters during execution of the data function.
   - Parameters: Specifies the Workspace Dictionary variables and Workspace Node parameters that should be used as input parameters of type value. Scalar values that are specified directly through Document properties and expressions can be passed into such parameters during the execution of data function. These options correspond to settings on various nodes present in the workspace and can be used to modify the performance of various processes represented by the nodes.
   - Outputs: Specifies the Output nodes and Statistica Spreadsheet type elements from the Reporting Documents collection. These nodes are used as output parameters of type Table. Data produced after running a Statistica workspace can be brought back into Spotfire as Data Tables through these parameters.
4. Select the check box Show dialog after registering a new data function to display a dialog box after registration of a new data function.

Copyright © Cloud Software Group, Inc. All rights reserved.