Segmentor-class: Class "Segmentor"

Description Objects from the Class Slots Methods Author(s) See Also

Description

A class for Segmentation objects.

Objects from the Class

Objects can be created by calls of the form new("Segmentor", ...).

new("Segmentor", ...):

creates a new object with class Segmentor

Slots

data:

Object of class "numeric", the vector of data

model:

Object of class "character", the assumed distribution of the data

Kmax:

Object of class "numeric", the maximum number of segments considered for the segmentation

breaks:

Object of class "matrix", the breakpoints of the optimal segmentation for each value of k

mean:

Object of class "numeric", if model = Variance, the mean used in the analysis

overdispersion:

Object of class "numeric", if model = Negative Binomial, the overdispersion used in the analysis

parameters:

Object of class "matrix", the ML estimates of the parameter of each segment of the optimal segmentation for each value of k

likelihood:

Object of class "matrix", the likelihood of the segmentation for each value of k

Cost:

Object of class "matrix", the cost of the segmentation up to point j in i segments

Pos:

Object of class "matrix", the last change-point location of the segmentation up to point j in i segments

compression:

Object of class "numeric", the value of the compression obtained prior to segmentation of the data

Methods

getData

signature(object = "Segmentor"): retrieves data slot

getModel

signature(object = "Segmentor"): retrieves model slot

getKmax

signature(object = "Segmentor"): retrieves Kmax slot

getBreaks

signature(object = "Segmentor"): retrieves breaks slot

getMean

signature(object = "Segmentor"): retrieves mean slot

getOverdispersion

signature(object = "Segmentor"): retrieves overdispersion slot

getLikelihood

signature(object = "Segmentor"): retrieves likelihood slot

getCost

signature(object = "Segmentor"): retrieves Cost slot

getParameters

signature(object = "Segmentor"): retrieves parameters slot

getPos

signature(object = "Segmentor"): retrieves Pos slot

getCompression

signature(object = "Segmentor"): retrieves compression slot

Author(s)

Alice Cleynen

See Also

SelectModel


Segmentor3IsBack documentation built on May 2, 2019, 7:30 a.m.