Learn R Programming

ordinalTables (version 1.0.0.3)

Cliff_weighted_d_matrix: Computes weighted version of dominance matrix "d"

Description

Arguments are scores and associated weights. Not useful for tables. Use Cliff_compute_d_matrix instead.

Usage

Cliff_weighted_d_matrix(x, y, w.x = rep(1, length(x)), w.y = rep(1, length(y)))

Value

an n X m d-matrix, where n is length(x) and m is length(y)

Arguments

x

first vector of scores

y

second vector of scores

w.x

first vector of weights, to apply to x. Defaults to vector of 1.0

w.y

second vector of weights, to apply to y. Defaults to vector of 1.0