Learn R Programming

seqHMM (version 2.1.0)

state_names: Get State Names of Hidden Markov Model

Description

Get State Names of Hidden Markov Model

Set State Names of Hidden Markov Model

Usage

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

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.

Arguments

object

object An object of class hmm, mhmm, nhmm, or mnhmm.

value

A character vector containing the new state names, or a list of such vectors in case of mixture models.