Description Usage Arguments Value Author(s) See Also Examples
The distribution.reorder
function reorder a Distribution
object to make its names be in the same order than a another Distribution
object. Both objects have to be comparable.
1 2 3 4 5 | distribution.reorder(
x,
model,
quiet = T
)
|
x |
A |
model |
A |
quiet |
A logical. |
The x
Distribution
object with names reordered according to names of model
.
Emmanuel Rousseaux
distribution.comparable
1 2 3 4 5 6 7 8 | x <- distribution(c(0.5,0.5))
y <- distribution(c(0.1,0.9))
distribution.reorder(x,y)
x <- distribution(c("well" = 0.5, "poor" = 0.5))
y <- distribution(c("poor" = 0.1, "well" = 0.9))
distribution.reorder(x,y)
distribution.reorder(x,y, quiet = FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.