Learn R Programming

ordinalTables (version 1.0.0.3)

model_i_normalize_fHat: Normalizes pi(fHat) to sum to 1.0. If exclude_diagonal is TRUE, the sum of the off-diagonal terms sums to 1.0.

Description

Normalizes pi(fHat) to sum to 1.0. If exclude_diagonal is TRUE, the sum of the off-diagonal terms sums to 1.0.

Usage

model_i_normalize_fHat(fHat, exclude_diagonal = FALSE)

Value

matrix of model-based proportions pi

Arguments

fHat

matrix of model-based cell frequencies

exclude_diagonal

logical. Should the cells on the main diagonal be excluded? Default is FALSE, include all cells