sort.statistic Function (GPL)

Syntax

sort.statistic(<statistic function>)

<statistic function>. A statistic function.

Description

Sorts the categorical values based on the result of the statistic function for each category.

Examples

Figure 1. Example: Sorting the categories
SCALE: cat(dim(1), sort.statistic(summary.mean(salary)))

Statistic Functions

See GPL Functions .