powered by
Given a possible value for a probability distribution, the probability at that value is computed.
probability(object, val)
A discrete probability distribution.
The value at which the probability should be computed.
The probability at val.
val
probabilitydensity
# NOT RUN { probability(poissondistribution(3), 1) probability(binomialdistribution(10, 0.24), 2) # }
Run the code above in your browser using DataLab