fsml_rank Interface

public interface fsml_rank

Ranks all samples such that the smallest value obtains rank 1 and the largest rank n. Handles tied ranks and assigns average rank to tied elements within one group of tied elements.

Calls

interface~~fsml_rank~~CallsGraph interface~fsml_rank fsml_rank proc~s_utl_rank s_utl_rank interface~fsml_rank->proc~s_utl_rank

Module Procedures

public pure subroutine s_utl_rank(x, ranks)

Ranks all samples such that the smallest value obtains rank 1 and the largest rank n. Handles tied ranks and assigns average rank to tied elements within one group of tied elements.

Arguments

Type IntentOptional Attributes Name
real(kind=wp), intent(in) :: x(:)

x array

real(kind=wp), intent(out), allocatable :: ranks(:)

ranks of x