segmentations {crops}R Documentation

Summary of segmentations by penalty value

Description

Produces a summary of the segmentations for each penalty value in the form of a data frame.

Usage

segmentations(object)

Arguments

object

An instance of an S4 class produced by crops.

Value

A data frame containing the penalties, costs, penalised costs, and changepoint locations. Note - if no changepoints are detected in the penalty interval [beta_min,beta_max], then the value returned is NULL.

See Also

crops.

Examples

# see the crops example

[Package crops version 1.0.3 Index]