Description Usage Arguments Examples
This function is not for end user.
1 | TOC.sampleData(initsa=NULL,n)
|
initsa |
SA Model. |
n |
Length of input sample set sequence. |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ## Not run:
states<-c('s1','s2')
inputSymbols<-c('a','b')
outputSymbols<-c(0,1)
transProb<-matrix(c(0.70,0.50, 0.30,0.50), nrow = 2, ncol = 2,byrow = TRUE)
emissionProb<-matrix(c(0.50,0.30, 0.40,0.60,.50,.70,.60,.40), nrow = 2, ncol = 4, byrow = TRUE)
initsa<-initsa(states,inputSymbols,outputSymbols,emissionProb,transProb)
n<-3
TOC.sampleData(initsa, n)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.