checkConnections_step2: Make the second step of the checks between the connections...

Description Usage Arguments Value

View source: R/checkConnections_step2.R

Description

This function obtains the results of the second step of checks for the compatibility between the connections observed and the emission model. It checks that the transitions from one connections to the following is coherent with the probabilities in the emission matrix. In those cases when the transition is not compatible, a solution to fit the model is given with the needed time padding coefficient.

Usage

1
checkConnections_step2(emissionProbs, connections, gridParams)

Arguments

emissionProbs

The matrix of emission probabilities.

connections

A matrix with the connections, a row per device and a column per time.

gridParams

A list with the parameters of the grid:
nrow, ncol, tileX, tileY.

Value

A list with two elements" one is the information about the checks with a vector containing all the time padding coefficients and the second is the matrix of connections with the time padding done by using the maximum coefficient.


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