expand_q_matrix function

Function to expand an existing q_matrix to a number of concealed states

Function to expand an existing q_matrix to a number of concealed states

expand_q_matrix(q_matrix, num_concealed_states, diff.conceal = FALSE)

Arguments

  • q_matrix: q_matrix with only transitions between observed states.
  • num_concealed_states: number of concealed states, generally equivalent to the number of examined states in the dataset.
  • diff.conceal: Boolean stating if the concealed states should be different. E.g. that the transition rates for the concealed states are different from the transition rates for the examined states. Normally it should be FALSE in order to avoid having a huge number of parameters.

Returns

updated q matrix

Note

This is highly similar to q_doubletrans().

  • Maintainer: Rampal S. Etienne
  • License: GPL (>= 3) | file LICENSE
  • Last published: 2024-04-30