powered by
stateNames
momentuHMM
miHMM
HMMfits
miSum
Set stateNames for a momentuHMM, miHMM, HMMfits, or miSum object
setStateNames(model, stateNames)
model object with new stateNames field
model
momentuHMM, miHMM, HMMfits, or miSum object
Character string providing state names for the model. See fitHMM and MIfitHMM.
fitHMM
MIfitHMM
m <- example$m mName <- setStateNames(m, stateNames=c("encamped","exploratory"))
Run the code above in your browser using DataLab