Nothing
## ----setup, include = FALSE---------------------------------------------------
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>"
)
## -----------------------------------------------------------------------------
library(plotcli)
mtcars$cf = as.character(mtcars$cyl)
mtcars_ggplot <- ggplot(mtcars, aes(x = mpg, y = wt)) +
geom_point() +
geom_smooth(method = "lm", color = "red") +
labs(title = "Mtcars Dataset with Regression Line",
x = "Miles per Gallon",
y = "Weight")
pp = ggplotcli(mtcars_ggplot, braille = FALSE)
pp$print_plot()
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.