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

View source: R/segTraj_Gmean_simultanee.R

Gmean_simultaneeR Documentation

Gmean_simultanee calculates the cost matrix for a segmentation model with changes in the mean and variance for all signals

Description

Gmean_simultanee calculates the cost matrix for a segmentation model with changes in the mean and variance for all signals

Usage

Gmean_simultanee(Don, lmin, sameVar = FALSE)

Arguments

Don

the bivariate signal

lmin

minimum size for a segment, default value is 2

sameVar

whether variance is the same for each segment.

Value

the cost matrix G(i,j) which contains the variance of the data between point (i+1) to point j


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