homogeneity | R Documentation |
A function to compute the maximum homogeneity of two state sequences.
homogeneity(state.seq1, state.seq2)
state.seq1 |
first state sequence |
state.seq2 |
second state sequence |
a vector of a length equal to the maximum number of states giving the maximum homogeneity ratios
Morteza Amini, morteza.amini@ut.ac.ir
state.seq1 = c(3, 3, 3, 1, 1, 2, 2, 2, 2)
state.seq2 = c(2, 2, 2, 3, 3, 1, 1, 1, 1)
homogeneity(state.seq1, state.seq2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.