Learn R Programming

MSigSeg (version 0.2.0)

seg.len: Generic Function-seg.len.

Description

This function returns the length of segmentation.

Usage

# S4 method for MSigSeg
seg.len(object)

Value

A vector contains length of segmentation.

Arguments

object

A MSigSeg object.

Details

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

Examples

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

Run the code above in your browser using DataLab