View source: R/reorder-factor-function.R
reorder.factor | R Documentation |
Reorder a vector of type factor in accordance with the results of groupwise results (e.g. mean values) for the different levels in the factor.
show.trellis.symbols(palette(),"default palette")
Factor |
is the vector of factors to be reordered |
Function |
is a function used on the aggregared data in x. The reordering will be based on these results. |
... |
Any other values that could be supplied to Function |
x |
is a vector of numerical values with the same length as Factor. |
A reordered factor
Claus E. Andersen
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.