For discrete distributions, the probability mass function. pmf()
is an alias.
Arguments
- d
A probability distribution object such as those created by a call to
Bernoulli()
,Beta()
, orBinomial()
.- x
A vector of elements whose probabilities you would like to determine given the distribution
d
.- drop
logical. Should the result be simplified to a vector if possible?
- ...
Unused. Unevaluated arguments will generate a warning to catch mispellings or other possible errors.