Learn R Programming

rpf (version 1.0.14)

ordinal.gamma: Compute the ordinal gamma association statistic

Description

Compute the ordinal gamma association statistic

Usage

ordinal.gamma(mat)

Arguments

mat

a cross tabulation matrix

References

Agresti, A. (1990). Categorical data analysis. New York: Wiley.

Examples

Run this code
# Example data from Agresti (1990, p. 21)
jobsat <- matrix(c(20,22,13,7,24,38,28,18,80,104,81,54,82,125,113,92), nrow=4, ncol=4)
ordinal.gamma(jobsat)

Run the code above in your browser using DataLab