bertinranks: Calculate row or column ranks for Bertin analysis.

Description Usage Arguments Value Author(s) Examples

Description

Calculate row or column rank scores for a given matrix. Marginal means and marginal permutation are cached.

Usage

1
2
	bertinrank(z,  var.orientation=c("byrow", "bycolumn", "global"), na.last = TRUE,
     ties.method = c("average", "first", "random", "max", "min"))

Arguments

z

A data matrix

var.orientation

"byrow", "bycolumn", "global"). By defaults, following Bertin's conventions variables are in rows. Use var.orientation="bycolumn" for R conventions.

na.last

passed to rank

ties.method

passed to rank

Value

scores

An augmented matrix of rank scores. The matrix has the class "bertin" and carries the attributes:

var.orientation

cached.

rowmeans

row wise mean ranks

roworder

order of rows by row means

colmeans

column wise mean ranks

colorder

order of columns by column means

This list is subject to change.

Author(s)

G. Sawitzki

Examples

1
2
data(Hotel)
hotelrks <- bertinrank(Hotel)

bertin documentation built on May 2, 2019, 5:54 p.m.

Related to bertinranks in bertin...