Sort {bayesmix} | R Documentation |
Ascending sorting of results of jags
object with
model of class BMMmodel
with respect to a given variable.
Sort(x, by = NULL)
x |
a jags object with model of class BMMmodel . |
by |
variable name according to which the segments shall be ordered. |
If by
is not specified, the first variable in the
corresponding vector of the jags
object is taken.
The input object with results sorted in ascending order according
to the variable given in by
is returned.
If there arise problems, the original object is returned with a warning.
Bettina Gruen