SimulateNotEmptyUrns: Simulate the number of urns.

Description Usage Arguments Value

Description

Simulate the number of non-empty urns when m balls placed into n urns.

Usage

1
SimulateNotEmptyUrns(m, n, exact.n = 20)

Arguments

m

the number of balls, single integer or vector of integers.

n

the number of urns, single integer or vector of integers.

exact.n

single integer, the maximum number of urns for which to use exact calculations instead of a normal approximation.

Value

the simulated number of non-empty urns


google/amss documentation built on May 20, 2019, 5:05 p.m.