>  Docs Center  >  Libraries  >  Beaumont  >  RANK
Libraries

RANK

RANK

Purpose


  This function computes the rank of each element in a data set. By default,
  The rank 0 element is the smallest element, the rank 1 element is
  second smallest, etc. If decrease keyword is set, the rank 0 element is
  the largest element.

Inputs


  data: An array of numbers

Outputs


  An array the same size as data, giving the rank of each element.

Keywords


  decrease: set it if ranked in decrease order.

Modification History


  2010-08-03: Written by Chris Beaumont



© 2024 NV5 Geospatial Solutions, Inc. |  Legal
   Contact Us