View source: R/vintage-methods.R
| plot.tbl_vintage | R Documentation |
Plots a vintages object along the dimension implied by its class:
publication date for a tbl_pubdate, release number for a tbl_release.
Defined once for the parent class tbl_vintage and inherited by both.
plot_vintages() remains the entry point when the dimension, title or
plot type need to be set explicitly.
## S3 method for class 'tbl_vintage'
plot(x, ...)
x |
An object inheriting from tbl_vintage, such as a |
... |
Additional arguments passed to |
A ggplot2 object.
Other revision graphs:
plot_vintages(),
theme_reviser()
df <- dplyr::filter(reviser::gdp, id == "US")
plot(df)
release_data <- get_nth_release(df, n = 0:5)
plot(release_data)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.