uniqueness_probability {keyToEnglish}R Documentation

Uniqueness Probability

Description

Calculates probability that all 'r' elements of a set of size 'N' are unique

Usage

uniqueness_probability(N, r)

Arguments

N

'numeric' size of set. Becomes unstable for values greater than 10^16.

r

'numeric' number of elements selected with replacement

Value

'numeric' probability that all 'r' elements are unique


[Package keyToEnglish version 0.2.1 Index]