plot.segments.ts {mining}R Documentation

Plot time-series segments

Description

Shows how the mean level of a time-series varies between segments.

Usage

plot.segments.ts(x,b)

Arguments

x a numeric vector or ts object
b a numeric vector of break times

Value

Plots the time series as a line, then draws a blue horizontal line through each segment, at the mean value of the segment.

Author(s)

Tom Minka

See Also

break.ts, plot.breaks


[Package Contents]