sort.norMix: Sort Method for "norMix" Objects

View source: R/norMix.R

sort.norMixR Documentation

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, ...)

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

sort(MW.nm9)
stopifnot(identical(MW.nm2, sort(MW.nm2)))

nor1mix documentation built on May 29, 2024, 8:28 a.m.