Sort | R Documentation |
Ascending sorting of results of JAGSrun
object with
model of class BMMmodel
with respect to a given variable.
Sort(x, by = NULL)
x |
a |
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 JAGSrun
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.