# With total balls specified
expValErl(N = 5, m = 2, k = 2)
# With number of each colour of balls specified
expValErl(m = 2, n = 3, k = 2)
# With total balls specified
varErl(N = 5, m = 2, k = 2)
# With number of each colour of balls specified
varErl(m = 2, n = 3, k = 2)
Run the code above in your browser using DataLab