seg.len-methods: Generic Function-seg.len.

seg.lenR 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)


MSigSeg documentation built on Nov. 13, 2023, 5:07 p.m.