fortify.ts | R Documentation |
Fortify a ts object.
## S3 method for class 'ts'
fortify(model, data = NULL, name = as.character(m[[2]]),
...)
model |
A |
data |
A vector of the same length of |
name |
Character specifying the name of x if it is to be different than the variable being inputed. |
... |
Further arguments. |
Prepares a ts object for plotting with ggplot.
data.frame
for plotting with ggplot.
Jared P. Lander
fortify(sunspot.year)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.