retour_sn {fpopw} | R Documentation |
retour_sn
Description
Function used internally by Fpsn and Fpsn_w to do the backtracking and recover the best set of segmentations in 1 to K changes from 1 to n.
Usage
retour_sn(path)
Arguments
path |
matrix of size (K x n) containing the last optimal changes up to j in k segments with i in |
Value
a matrix of size (K x K) containing the best segmentations in 1 to K segments.
[Package fpopw version 1.1 Index]