Helper function to create a default shift_matrix
list
Source: R/secsse_prep.R
create_default_shift_matrix.Rd
This function generates a generic shift matrix to be used with the function
create_q_matrix()
.
Usage
create_default_shift_matrix(
state_names = c("0", "1"),
num_concealed_states = 2,
mu_vector = NULL
)
Examples
shift_matrix <- create_default_shift_matrix(state_names = c(0, 1),
num_concealed_states = 2,
mu_vector = c(1, 2, 1, 2))
q_matrix <- create_q_matrix(state_names = c(0, 1),
num_concealed_states = 2,
shift_matrix = shift_matrix,
diff.conceal = FALSE)