OQQ: Calculates the mean of the transition matrix

Description Usage Arguments Value Examples

View source: R/OQQ.R

Description

OQQ calculates the mean of the transition array which is a K by K by T. Each row is the state at time t-1 and the columns are time t. The Gui plot shows the transition probability over time for each t-1 to t transition.

Usage

1
OQQ(nhmmobj, outfile = NULL)

Arguments

nhmmobj

an object created from the NHMM function

outfile

a directory to put the .png plot

Value

QQmean the transition probabilities for each time step. [K by K by T]

output: a plot where each row is the state at time t-1 and the columns are time t. The GUI plot shows the transition probability over time for each t-1 to t transition. If the columns are the same then the Markov property is probably weak.

Examples

1
#OQQ(my.nhmm) 

NHMM documentation built on July 1, 2020, 7:28 p.m.

Related to OQQ in NHMM...