# NOT RUN {
# For example, to generate a sequence of length 150 from the HMM "hmm" and
# save the observation sequence to "observations" and the hidden state
# sequence to "states", the following command may be used:
# }
# NOT RUN {
output <- hmm_generate(model=hmm, length=150)
observations <- output$output
states <- output$state
# }
Run the code above in your browser using DataLab