autoplot uses ggplot2 to draw a particular plot for an object of a
particular class in a single command. This defines the S3 generic that
other classes and packages can extend.
an object, whose class will determine the behaviour of autoplot
other arguments passed to specific methods
a ggplot object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.