
Last chance! 50% off unlimited learning
Sale ends in
<dist_spec>
Extracts an element of a <dist_spec>
get_element(x, id = NULL, element)
The id to use.
A <dist_spec>
.
Integer; the id of the distribution to use (if x is a composite
distribution). If x
is a single distribution this is ignored and can be
left at its default value of NULL
.
The element, i.e. "parameters", "pmf" or "distribution".