Test if the object is a distribution
is_distribution(x)
x |
An object. |
TRUE if the object inherits from the distribution class.
dist <- dist_normal()
is_distribution(dist)
is_distribution("distributional")Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.