Learn R Programming

momentuHMM (version 1.4.3)

setStateNames: Set stateNames for a momentuHMM, miHMM, HMMfits, or miSum object

Description

Set stateNames for a momentuHMM, miHMM, HMMfits, or miSum object

Usage

setStateNames(model, stateNames)

Arguments

model
stateNames

Character string providing state names for the model. See fitHMM and MIfitHMM.

Value

model object with new stateNames field

Examples

Run this code
# NOT RUN {
m <- example$m
mName <- setStateNames(m, stateNames=c("encamped","exploratory"))

# }

Run the code above in your browser using DataLab