arank {mimager}R Documentation

Array rank

Description

Determines the rank of values within each matrix of a three-dimensional array.

Usage

arank(x, na.last = TRUE, ties.method = "first")

Arguments

x

a three-dimensional array of matrices

na.last

for controlling the treatment of NAs. If TRUE, missing values in the data are put last; if FALSE, they are put first; if NA, they are removed; if "keep" they are kept with rank NA.

ties.method

a character string specifying how ties are treated, see ‘Details’; can be abbreviated.

Value

an array with the same dimensions as x

See Also

rank

Other array.transformations: arle

Examples

# microarray visualization
if (require(affydata, quietly = TRUE)) {
  data("Dilution", package = "affydata")
  x <- arank(marray(Dilution, transpose = TRUE))
}


[Package mimager version 1.14.0 Index]