Learn R Programming

changepoint (version 1.1.5)

seg.len: Generic Function - seg.len

Description

Generic function

Usage

seg.len(object)

Arguments

object
Depending on the class of object depends on the method used (and if one exists)

Value

  • Depends on the class of object, see individual methods

Details

Generic Function

See Also

seg.len-methods

Examples

Run this code
x=new("cpt") # new cpt object
seg.len(x) # returns the length of each segment in the data (i.e. no. of obs between changepoints)

Run the code above in your browser using DataLab