Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/slider.split.plot.ts.R
slider.split.plot.ts
plots linear fitted lines or
summary statistics in sections of a time series.
The sections are controlled by sliders.
1 | slider.split.plot.ts(x, type="l", ...)
|
x |
time series or vector |
type |
plotting type: |
... |
additional graphics parameters |
slider.split.plot.ts
draws a time series plot and let you define
sections of the series by fixing a limit on the time scale as well as
a window width.
The whole range of the series is partitioned in pieces of the same
length in a way that the fixed limit will be one of the section limits.
Then linear models are fitted and plotted in the sections.
Alternatively – by pressing the button fivenum summary
–
summary statistics are drawn instead of the model lines.
The first slider fixes the width of the sections and the second one the limit between two of them.
By clicking on button linear model
or fivenum summary
the user switches between drawing model curves and five number summary.
a message about the usage
Hans Peter Wolf
1 2 3 4 5 | ## Not run:
## This example cannot be run by examples() but should be work in an interactive R session
slider.split.plot.ts(as.vector(sunspots)[1:100])
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.