|

Rank Values in a Vector of Data

Description

This model contains a Script that will take any Data vector of values and rank them in 1 of 2 ways:

  • Rank in order of lowest to highest values
  • Rank in order of highest to lowest values

Rank is an integer score that starts with the value of 1 and increments up from there as the values differ through the vector either up  from the lowest value or down from the highest value.

Additional Information

Keywords

rank, array, sort, vector, scale, order, values, script, for, iterate, loop

Categories

GoldSim Features & Capabilities, Arrays, Useful Code Snippets

Experience Level
Beginner
Contact

GoldSim Technology Group

 

Making Better Decisions In An Uncertain World