nor1mix (version 1.3-0)

sort.norMix: Sort Method for "norMix" Objects

Description

Sorting a "norMix" object (see norMix), sorts along the mu values; i.e., for the default decreasing = FALSE the resulting x[,"mu"] are sorted from left to right.

Usage

# S3 method for norMix
sort(x, decreasing = FALSE, ...)

Value

a "norMix" object like x.

Arguments

x

an object of class "norMix".

decreasing

logicial indicating if sorting should be up or down.

...

further arguments passed to sort(x[,"mu"],*).

Examples

Run this code
sort(MW.nm9)
stopifnot(identical(MW.nm2, sort(MW.nm2)))

Run the code above in your browser using DataLab