R/OrdRep.R
OrdRep.Rd
The number of outcomes of n picks from N objects, with replacement and with the order mattering, is N^n (not n^N).
OrdRep(N, n)
number of distinct objects in the box.
number of picks.
list(n_objects, n_picks, count, log_count).
Morin, D. J. (2016). Probability: For the Enthusiastic Beginner. Createspace. Eq. (1.4).
OrdRep(6, 5)$count #> [1] 7776