If vector x has 20 elements and y 10 elements, will this function then remove the last 10 elements in x, or is that only if you choose paired=TRUE?

Will it count the rank sum for x or y and then the total permutations that has at least that rank, and then divide by the total possible outcomes? Or how does it work, and whats the difference between paired=TRUE/FALSE?

Sorry if its to much questions..

By the way, Hi!, I'm new..