autoplot.gts | R Documentation |
This function is implemented with ggplot2.
## S3 method for class 'gts' autoplot(object, to.unit = NULL, background = "white", line.type = "solid", line.color = "#003C7D", point.size = 0, point.shape = 20, title = NULL, title.size = 15, axis.label.size = 13, axis.tick.size = 11, axis.x.label = NULL, axis.y.label = NULL, ...)
object |
A |
to.unit |
A |
background |
A |
line.type |
A |
line.color |
A |
point.size |
An |
point.shape |
An |
title |
A |
title.size |
An |
axis.label.size |
An |
axis.tick.size |
An |
axis.x.label |
A |
axis.y.label |
A |
... |
other arguments passed to specific methods |
A ggplot2 panel containing the graph of time series.
Wenchao
x = gen_gts(50, WN(sigma2=1), unit = 'sec', freq = 1) autoplot(x) autoplot(x, to.unit = 'ns', line.type = 'dashed', line.color = 'black', point.size = 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.