plotPR {momentuHMM}R Documentation

Plot pseudo-residuals

Description

Plots time series, qq-plots (against the standard normal distribution) using qqPlot, and sample ACF functions of the pseudo-residuals for each data stream

Usage

plotPR(m, lag.max = NULL, ncores = 1)

Arguments

m

A momentuHMM, momentuHierHMM, miHMM, HMMfits, or miSum object.

lag.max

maximum lag at which to calculate the acf. See acf.

ncores

number of cores to use for parallel processing

Details

References

Zucchini, W. and MacDonald, I.L. 2009. Hidden Markov Models for Time Series: An Introduction Using R. Chapman & Hall (London).

Examples

# m is a momentuHMM object (as returned by fitHMM), automatically loaded with the package
m <- example$m

plotPR(m)


[Package momentuHMM version 1.5.5 Index]