m01ecf is designed to be used typically in conjunction with the ranking routines
m01daf,
m01dbf,
m01dcf,
m01def,
m01dff,
m01djf,
m01dkf and
m01dzf. After one of those routines has been called to determine a vector of ranks,
m01ecf can be called to rearrange a vector of character data into the rank order. If the vector of ranks has been generated in some other way, then
m01zbf should be called to check its validity before
m01ecf is called.
None.
If on entry
or
, explanatory error messages are output on the current error message unit (as defined by
x04aaf).
Not applicable.
This example reads a file of
-character records, each of which contains in characters
to
a name of a NAG routine, and in characters
to
an integer frequency. The program first calls
m01dbf to rank the integers in descending order, and then calls
m01ecf to rearrange the names into the order specified by the ranks.