R: Generic Function - seg.len

seg.len {changepoint} | R Documentation

## 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)

### Details

Generic Function

### Value

Depends on the class of `object`, see individual methods

### Author(s)

Rebecca Killick

### See Also

`seg.len-methods`

### Examples

    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)

[Package changepoint version 2.2.2 Index]