multiSeg_RestrictedDynProg_Mean {KernSeg}R Documentation

multiSeg RestrictedDynProg Mean

Description

function to run restricted dp L2 (= DP on a restricted set of candidate change-points)

Usage

multiSeg_RestrictedDynProg_Mean(sumXs, sumX2, sumWeights, 
    Kmax, changes)

Arguments

sumXs

cumsum for X mxn

sumX2

cumsum of squares m x n

sumWeights

cumsum weights

Kmax

maximum number of changes

changes

position of changes

Value

return result of C code with t.est and J.est (internal use)

Author(s)

Guillem Rigaill


[Package KernSeg version 0.0.2 Index]