N-tiles
Divides the vector into n buckets.
x (Vector): The input vector.
Vector
n (Int): Number of buckets.
Int
Bucket indices (1 to n).
min_rank