Returns the structured support of a distribution: its atomic part and its
continuous part. Every distribution has one, because distribution()
requires it — the single exception being dst_null(), which has nothing to
place anywhere and returns NULL.
See also
discrete(), continuous(), mixed() to build supports;
vtype() for the derived variable type.
Other Support:
atoms(),
empty_support(),
is_support(),
support-construction
Examples
support(distribution(.support = continuous(c(0, Inf))))
#> Warning: Full suite of distribution properties may not be accessible without specifying 'cdf', and either 'density' or 'pmf'.
#> <support: continuous>
#> -- continuous --
#> [0, Inf]
