dtmc <-
function(timecategory = 'discrete', states, pijdef, qidef = NULL, name, byrow = TRUE){
dtMarkov = mc(timecategory, states, pijdef, qidef, name, byrow)
class(dtMarkov) = append(class(dtMarkov), 'dtmc')
return(dtMarkov)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.