dst_null | R Documentation |
Sometimes it's convenient to work with a distribution object that is empty,
akin to a NULL
value. This is especially true when programmatically
outputting distributions, such as when a distribution fails to fit to
data. This contructor makes such a distribution object. It always evaluates
to an NA
vector.
dst_null()
Distribution object of class "dst_null"
.
x <- dst_null()
mean(x)
eval_pmf(x, at = 1:10)
enframe_hazard(x, at = 1:10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.