DegradeOnly: Transforms estimated transition matrices into upper diagonal...

Description Usage Arguments

Description

Transforms estimate transition matrices to be upper diagonal either by adding all lower diagonal elements onto the diagonal of the same row, or by setting lower diagonal elements to 0 and rescaling the other row elements so that the row sum remains 1.

Usage

1
DegradeOnly(transmatrix, LoadDiag = TRUE)

Arguments

transmatrix

an estimated transition matrix from transprob

LoadDiag

logical. If TRUE (default) lower diagonal elements are added onto the diagonal element in the same row. If FALSE, lower diagonal elements are set to zero and each row rescaled to ensure a row sum of 1.


rich-d-wilkinson/transprob documentation built on May 27, 2019, 7:41 a.m.