getLWargs: Get the information about a matrix of ranks.

Description Usage Arguments Details Value Author(s) See Also Examples

Description

Get the information required for imputing missing ranks.

Usage

1

Arguments

x

A matrix of ranks, usually containing missing values.

Details

getLWargs calculates the information required for fillArows and fillArow to impute the missing ranks in a matrix.

Value

A list containing the following:

ranksums

The column sums of the complete rows of the matrix.

Arows

The indices of the row(s) with the minimal number of missing values.

nArows

The number of Arows.

Brows

The indices of the complete rows.

Author(s)

Jim Lemon

See Also

listBuilder

Examples

1
2
3
 # The first example matrix from Lim and Wolfe (2002)
 lwmat<-matrix(c(3,1,2,4,NA,2,1,NA,2,NA,1,NA),nrow=3,byrow=TRUE) 
 getLWargs(lwmat)

crank documentation built on May 1, 2019, 9:39 p.m.

Related to getLWargs in crank...