(defn rank-index " given a seq, returns a map where the keys are the values of the seq and the values are the positional rank of each member o the seq. " [x] (zipmap (sort x) (range 1 (+ 1 (count x)))))
Comments top
No comments for rank-index. Log in to add a comment.