validMeans: validMeans

Description Usage Arguments Value Examples

View source: R/validHMM.R

Description

validMeans performs simulations and inference on means of HMM.

Usage

1
2
validMeans(nrep = 50, trans = matrix(c(0, 3, 7, 5, 2, 3, 5, 5, 0), 3,
  3, byrow = TRUE)/10, M1 = 3)

Arguments

nrep

the size of sample generated

trans

a matrix of transition probability

M1

the number of hidden states

Value

A violin plot of estimated means

Examples

1
2

jiangrongo/HMM documentation built on May 19, 2019, 9:38 p.m.