move.HSMM.ACF: ACF plot

Description Usage Arguments Value

View source: R/move.HSMM.ACF.R

Description

This function compares the empirical ACFs to those simulated from the fitted HSMM. Experimental.

Usage

1
2
3
  move.HSMM.ACF(move.HSMM, simlength = 10000,
    transforms = NULL, lag.max = 10, ylim = NULL,
    tol = 0.1)

Arguments

move.HSMM

A move.HMM object containing a fitted HSMM model.

simlength

The number of observations to simulate. The ACF from the simulated data will converge to the theoretical ACF as simlength goes to infinity

transforms

A list of length ndist that contains functions for transforming the data for each distribution. Default is NULL, so data are not transformed.

lag.max

Maximum lag at which to calculate the acf. Default is 10.

ylim

a ndist x 2 matrix with the lower and upper bounds for plotting each ACF. Defaults to (-0.3,0.3).

tol

numeric value indicating the distance between the empirical and simulated ACFs plots at each lag length. Defaults to 0.1.

Value

A vector of shifted negative binomial pdf values


benaug/move.HMM documentation built on Jan. 23, 2022, 4:29 a.m.