Distance File

Loads an existing distance file.

Outputs

  • Distance File: distance matrix
  1. Choose from a list of previously saved distance files.
  2. Browse for saved distance files.
  3. Reload the selected distance file.
  4. Information about the distance file (number of points, labelled/unlabelled).
  5. Browse documentation datasets.
  6. Produce a report.

The simplest way to prepare a distance file is to use Excel. The widget currently processes only single-sheet workbooks. The matrix can be either rectangular, or upper- or lower-triangular, with labels given for columns (immediately above) or rows (immediately to the left) or both. Empty cells are treated as zeros. If the matrix is triangular and only one set of labels is given or both sets are equal, the other half can be filled automatically, making the matrix symmetric.

Example

When you want to use a custom-set distance file that you've saved before, open the Distance File widget and select the desired file with the Browse icon. This widget loads the existing distance file. In the snapshot below, we loaded the transformed Iris distance matrix from the Save Distance Matrix example. We displayed the transformed data matrix in the Distance Map widget. We also decided to display a distance map of the original Iris dataset for comparison.

This site uses cookies to improve your experience.