   <div class="col-md-9" id='text'>
    <h2>public  subroutine RANK(X, N, Xr)  
</h2>
    

    <h2 id="name">NAME</h2>
<div class="codehilite"><pre><span></span><code>rank(3f) - [M_datapac:SORT] rank a vector of sample observations
</code></pre></div>

<h2 id="synopsis">SYNOPSIS</h2>
<div class="codehilite"><pre><span></span><code>   SUBROUTINE RANK(X,N,Xr)

    REAL(kind=wp),intent(in)  :: X(:)
    INTEGER,intent(in)        :: N
    REAL(kind=wp),intent(out) :: Xr(:)
</code></pre></div>

<h2 id="descripti