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
- Host: GitHub
- URL: https://github.com/atsyplenkov/atslib
- Owner: atsyplenkov
- License: cc0-1.0
- Created: 2020-02-27T08:09:29.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2024-04-17T01:04:27.000Z (over 1 year ago)
- Last Synced: 2025-03-07T18:12:05.899Z (10 months ago)
- Language: R
- Size: 451 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.Rmd
- License: LICENSE.md
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()
```