trMatrix_rcpp: Transition probability matrix

Description Usage Arguments Value

View source: R/RcppExports.R

Description

Computation of the transition probability matrix, as a function of the covariates and the regression parameters. Written in C++. Used in fitHMM, logAlpha, logBeta, plot.moveHMM, pseudoRes, and viterbi.

Usage

1
trMatrix_rcpp(nbStates, beta, covs)

Arguments

nbStates

Number of states

beta

Matrix of regression parameters

covs

Matrix of covariate values

Value

Three dimensional array trMat, such that trMat[,,t] is the transition matrix at time t.


TheoMichelot/moveHMM documentation built on Sept. 28, 2018, 11:06 a.m.