slider.zoom.plot.ts {aplpack}R Documentation

interactive zooming of time series

Description

This function shows one or two sections of a time series. The window(s) is (are) controlled by sliders.

Usage

  slider.zoom.plot.ts(x, n.windows, ...)

Arguments

x

time series

n.windows

if(n.windows>1 two sections are defined

...

additional graphical parameters

Details

slider.zoom.plot.ts plots the original time series and it lets you select one or two sections of the series by fixing the width(s) and the starting point(s) of the region(s). Then the section(s) of the series is (are) plotted separately one below the other.

The first slider defines the width of the section(s). The second (third) one sets the start of the first (second) section.

Value

a message about the usage

Author(s)

Hans Peter Wolf

See Also

plot

Examples

## Not run: 
## This example cannot be run by examples() but should be work in an interactive R session
  slider.zoom.plot.ts(co2,2)

## End(Not run)

[Package aplpack version 1.3.5 Index]