Sort factor levels in numerical order

orderedFactor(f)

Arguments

factor

factor with numerical entries.

Value

ordered factor

Author

Nicholas Mikolajewicz