Learn R Programming

Segmentor3IsBack (version 1.5)

getPos: Generic function

Description

Generic function

Usage

getPos(object)

Arguments

object
An object of class Segmentor

Value

  • The matrix of the last change-point location of the segmentation in i segments up to point j

Details

Returns the slot Pos of an object of class Segmentor

References

PDPA: Rigaill, G. Pruned dynamic programming for optimal multiple change-point detection: Submitted http://arxiv.org/abs/1004.0887

PDPA: Cleynen, A. and Koskas, M. and Rigaill, G. A Generic Implementation of the Pruned Dynamic Programing Algorithm: Submitted http://arxiv.org/abs/1204.5564

See Also

getCost;getBreaks

Examples

Run this code
x=new("Segmentor") # new Segmentor object
getPos(x) # retrieves the pos slot from x

Run the code above in your browser using DataLab