An open API service indexing awesome lists of open source software.

https://github.com/atsyplenkov/atslib

Personal R package of Anatoly Tsyplenkov
https://github.com/atsyplenkov/atslib

Last synced: 19 days ago
JSON representation

Personal R package of Anatoly Tsyplenkov

Awesome Lists containing this project

README

          

---
output: github_document
---

```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```

# atslib

This is a collection of R functions from [Anatoly Tsyplenkov](atsyplenkov.com). The package was created following the instructions from this [tutorial](https://r-mageddon.netlify.com/post/writing-an-r-package-from-scratch/)

## Installation

You can install the development version from [GitHub](https://github.com/) with:

``` r
# install.packages("devtools")
devtools::install_github("atsyplenkov/atslib")
```
## Example

This is a basic demonstration of using two simple functions from this package:

```{r example}
library(atslib)
library(ggplot2)
library(extrafont)
## 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()

```