| autoplot.tf | R Documentation |
tf objectsConvenient plotting methods for tf objects. autoplot() creates a
complete spaghetti plot, autolayer() creates a layer that can be
added to an existing ggplot2::ggplot() or tf_ggplot().
## S3 method for class 'tf'
autoplot(object, ...)
## S3 method for class 'tf'
autolayer(object, ...)
object |
a |
... |
passed to |
A tf_ggplot() object for autoplot(), a ggplot2::layer() object for autolayer().
Other tidyfun visualization:
ggcapellini,
gglasagna(),
ggspaghetti
library(ggplot2)
f <- tf_rgp(5)
autoplot(f)
ggplot() + autolayer(f)
tf_ggplot() + autolayer(f)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.