Learn R Programming

boxfilter (version 0.2)

showdata: Boxfilter function

Description

Shows a graph of the data and its change over time.Called by boxclip()

Usage

showdata(x,y)

Arguments

x

The x-axis of data, a datetime for example.

y

The y-axis of data, probably noisy.

Author

Thomas Ruf (thomas.p.ruf@me.com)

Details

Asks the user whether to continue or not.Continue only if you want points to be deleted

Examples

Run this code
set.seed(1234)
y=runif(1000,20,30)
ix=sample(1:1000,50)
y[ix]=runif(50,60,70)
showdata(1:1000,y)

Run the code above in your browser using DataLab