get_pmf {EpiNow2} | R Documentation |
Get the probability mass function of a nonparametric distribution
Description
Usage
get_pmf(x, id = NULL)
Arguments
x |
A |
id |
Integer; the id of the distribution to get parameters of (if x is
a composite distribution). If |
Value
The pmf of the distribution
Examples
dist <- discretise(Gamma(shape = 3, rate = 2, max = 10))
get_pmf(dist)
[Package EpiNow2 version 1.5.2 Index]