Description Usage Arguments Value Examples
Calculating the probability of transition from multiple nodes to given node in the tree
1 | noisy_or(hmm, prev_state, cur_state)
|
hmm |
Object of class List given as output by |
prev_state |
vector containing state variable values for the previous nodes |
cur_state |
character denoting the state variable value for current node |
The Noisy_OR probability for the transition
1 2 3 4 | tmat = matrix(c(0,0,1,0,0,0,0,1,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0),
5,5, byrow= TRUE ) #for "X" (5 nodes) shaped tree
hmmA = initHMM(c("P","N"),list(c("L","R")), tmat) #one feature with two discrete levels "L" and "R"
Transprob = noisy_or(hmmA,c("P","N"),"P") #for transition from P & N simultaneously to P
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.