We have `Error: In dHMMo: Invalid value of x[t]` produced by `if (xt > nObsClasses | xt < 1) stop("In dDHMMo: Invalid value of x[t].")`. We should give the user details on the value of `t` and the actual `x[t]` value that is invalid and why.
We have
Error: In dHMMo: Invalid value of x[t]produced byif (xt > nObsClasses | xt < 1) stop("In dDHMMo: Invalid value of x[t].").We should give the user details on the value of
tand the actualx[t]value that is invalid and why.