Description Usage Arguments Value Author(s) See Also Examples
The distribution.comparable function check if Distribution objects are comparable. Two Distribution objects are comparable if and only if they have same length and share same value names. Precision can differ.
1 2 3 4 5 | distribution.comparable(
x,
y,
quiet = T
)
|
x |
A |
y |
A |
quiet |
A logical. If |
A logical.
Emmanuel Rousseaux
Distribution-class, distribution, distribution.reorder.
1 2 3 4 5 6 7 8 | x <- distribution(c(0.5,0.5))
y <- distribution(c(0.1,0.9))
distribution.comparable(x,y)
x <- distribution(c("well" = 0.5, "bad" = 0.5))
y <- distribution(c("well" = 0.1, "poor" = 0.9))
distribution.comparable(x,y)
distribution.comparable(x,y, quiet = FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.