Skip to contents

Computes foward log-probabilities for an autoregressive HMM. Adapted from moveHMM. Attention: Only works for 2-dim with 1st variable gamma distributed step lengths and 2nd variable von Mises distributed turning angles!

Usage

logAlpha(mod, data, N, p)

Arguments

mod

Fitted autoregressive HMM object.

data

Data the model is fitted on.

N

Number of states.

p

Vector of degree of autoregression for each distribution (one value for each state) (0 = no autoregression).

Value

Matrix of forward log-probabilities.