seg.len {MSigSeg}R Documentation

Generic Function-seg.len.

Description

This function returns the length of segmentation.

Usage

## S4 method for signature 'MSigSeg'
seg.len(object)

Arguments

object

A MSigSeg object.

Details

This function is a S4 method for MSigSeg object. It calculates the distance between each change points.

Value

A vector contains length of segmentation.

Examples

x=new("MSigSeg") # Creating a new MSigSeg object.
seg.len(x)


[Package MSigSeg version 0.2.0 Index]