Gmixt_simultanee: Gmixt_simultanee calculates the cost matrix for a...

View source: R/segTraj_Gmixt_simultanee.R

Gmixt_simultaneeR Documentation

Gmixt_simultanee calculates the cost matrix for a segmentation/clustering model

Description

Gmixt_simultanee calculates the cost matrix for a segmentation/clustering model

Usage

Gmixt_simultanee(Don, lmin, phi)

Arguments

Don

the bivariate signal

lmin

the minimum size for a segment

phi

the parameters of the mixture

Value

a matrix G(i,j), the mixture density for segment between points (i+1) to j G(i,j) =

\∑_{p=1}^P \log (\π_p f(y^{ij};\θ_p))

\sump=1 -> P log( \pip f( yij ; \thetap ) ) Rq: this density if factorized in order to avoid numerical zeros in the log


rpatin/segtools documentation built on Sept. 12, 2022, 5:09 p.m.