Calculate the cumulative distribution of the count of concordant pairs among indpendent pairs of random variables.
pconcordant(ss, nn)
ss
nn
real probability
Useful links