Determines the matrix of transition rates from the sequence data and creates a Markov chain.
1 | asMarkovChain(data.seq, data.scodes, brewer.pal.name = NULL)
|
data.seq |
data.seq |
data.scodes |
data.scodes |
brewer.pal.name |
Name of the RColorBrewer palette to use. TraMineR uses the following: If number of states <= 8 then 'Accent'; if between 8 and 12, then 'Set3'; if greater than 12 you have to specify your own palette. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.