Get State Names of Hidden Markov Model
Set State Names of Hidden Markov Model
state_names(object)# S3 method for hmm
state_names(object)
# S3 method for mhmm
state_names(object)
# S3 method for nhmm
state_names(object)
# S3 method for mnhmm
state_names(object)
state_names(object) <- value
# S3 method for hmm
state_names(object) <- value
# S3 method for mhmm
state_names(object) <- value
# S3 method for nhmm
state_names(object) <- value
# S3 method for mnhmm
state_names(object) <- value
A character vector containing the state names, or a list of such vectors in case of mixture models.
The original object with updated state names.
object An object of class hmm
, mhmm
, nhmm
, or mnhmm
.
A character vector containing the new state names, or a list of such vectors in case of mixture models.