Creates intial matrix for evolutinary agorithm. NA's mean constant (0 or diagonal) cells, 0's mean cells that can potentially change, 1's mean cells with the rate > 0.
partitioning scheme that is a vector where element id is an observable state while the element value is the number of hidden changes
a vector that sets main diagonal elements (i.k, i.l) to NA. Good to use if some observable state is known to lack any hidden states. For example if observable state 1.x lacks hidden states than specify set.NA=c(1)
1 2 3 4
#part_scheme<-c(5, 2, 3) #names(part_scheme)<-c("s1", "s2", "s3") #make_init_matrix(part_scheme, set.NA=c(2,3) ) #make_init_matrix(part_scheme)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.