50% off | Unlimited Data & AI Learning
Get 50% off unlimited learning

nor1mix (version 1.1-3)

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 class 'norMix':
sort(x, decreasing = FALSE, \dots)

Arguments

x
an object of class "norMix".
decreasing
logicial indicating if sorting should be up or down.
...
further arguments passed to sort(x[,"mu"],*).

Value

  • a "norMix" object like x.

Examples

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

Run the code above in your browser using DataLab