getJointModel: Builds the joint HMM model.

Description Usage Arguments Value

View source: R/getJointModel.R

Description

Builds the joint HMM model using the emmission probabilities given by getEmissionProbsJointModel().

Usage

1
2
3
4
5
6
7
getJointModel(
  nrows,
  ncols,
  jointEmissionProbs,
  initSteady = TRUE,
  aprioriJointProb = NULL
)

Arguments

nrows

Number of rows in the grid.

ncols

Number of columns in the grid.

jointEmissionProbs

A (sparse) matrix with the joint event location probabilities. The number of rows equals the number of tiles in the grid and the number of columns equals the number of antennas. This matrix is obtained by calling getEmissionProbsJointModel.

initSteady

If TRUE the initial apriori distribution is set to the steady state of the transition matrix, if FALSE the apriori distribution should be given as a parameter.

aprioriJointProb

The apriori distribution for the HMM model. It is needed only if initSteady is FALSE.

Value

Returns an HMM model with the initial apriori distribution set to the steady state of the transition matrix or to the value given by aprioriJointProb parameter.


bogdanoancea/deduplication documentation built on Dec. 2, 2020, 11:22 p.m.