This is a collection of R functions from Anatoly Tsyplenkov. The package was created following the instructions from this tutorial
You can install the development version from GitHub with:
# install.packages("devtools")
devtools::install_github("atsyplenkov/atslib")
This is a basic demonstration of using two simple functions from this package:
library(atslib)
library(ggplot2)
library(extrafont)
#> Registering fonts with R
## basic example code
ggplot(mtcars, aes(wt, mpg)) +
geom_point() +
labs(title = "A Lovely Plot",
subtitle = "What can the subtitle tell us?") +
Add_R2() +
theme_clean()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.