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