Set rank as a method

rank(x, ...)

Arguments

x

An object on which to apply the rank method

...

Arguments to be passed to methods