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.
1 | DegradeOnly(transmatrix, LoadDiag = TRUE)
|
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. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.