Learn R Programming

segclust2d (version 0.3.3)

EM.algo_simultanee_Cpp: EM.algo_simultanee calculates the MLE of phi for given change-point instants and for a fixed number of clusters

Description

EM.algo_simultanee calculates the MLE of phi for given change-point instants and for a fixed number of clusters

Usage

EM.algo_simultanee_Cpp(x, rupt, P, phi, eps = 1e-06, sameSigma = FALSE)

Value

a list with phi, the MLE, tau =(taukj) the probability for segment k to belong to class,lvinc = lvinc,empty = empty,dv = dv

Arguments

x

bivariate signal

rupt

the sequence of change points

P

number of clusters

phi

starting value for the parameter

eps

eps

sameSigma

TRUE if segments have the same variance