nseg-methods: ~~ Methods for Function nseg ~~

nseg-methodsR Documentation

~~ Methods for Function nseg ~~

Description

~~ Methods for function nseg ~~

Methods

signature(object = "cpt")

Returns the number of segments (i.e. length of the cpts slot) from an object of class cpt

signature(object = "cpt.range",ncpts=NA)

Returns the number of segments from an object of class cpt.range. If ncpts is not specified, this the length of the cpts slot of the cpt.range object. If ncpts is specified, this is (trivially) ncpts+1.

signature(object = "cpt.reg")

Returns the number of segments (i.e. length of the cpts slot) from an object of class cpt.reg


changepoint documentation built on Nov. 4, 2024, 9:06 a.m.