reorder.factor: Reorder a vector of type factor

View source: R/reorder-factor-function.R

reorder.factorR Documentation

Reorder a vector of type factor

Description

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.

Usage

show.trellis.symbols(palette(),"default palette")

Arguments

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.

Value

A reordered factor

Author(s)

Claus E. Andersen


claus-e-andersen/clanLattice documentation built on Oct. 14, 2023, 10:41 a.m.