Last chance! 50% off unlimited learning
Sale ends in
hmm.setup(data, state = c("enriched", "non-enriched"), probe.region = 35, frag.size = 1000, pos.state = 1, em.type = "tDist", max.prob = 1, df = 9)
list
of sequences.tDist
"
is supported.contHMM
.
contHMM
, getHMM
, tDist
, viterbiEM
## create two state HMM with t distributions
state.names <- c("one","two")
transition <- c(0.035, 0.01)
location <- c(-1, 2)
scale <- c(1, 1)
df <- c(4, 6)
hmm <- getHMM(list(a=transition, mu=location, sigma=scale, nu=df),
state.names)
## obtain observation sequence from model
obs <- sampleSeq(hmm, 500)
## build model from data
model <- hmm.setup(obs, state = c("one", "two"),df=5)
Run the code above in your browser using DataLab