-
Notifications
You must be signed in to change notification settings - Fork 1
/
README.Rmd
50 lines (36 loc) · 1.43 KB
/
README.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
---
output: github_document
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
res = 140,
fig.path = "man/figures/README-",
out.width = "50%"
)
```
```{r setup, message = FALSE, include = FALSE}
library(ratioScales)
library(tidyverse)
```
# ratioScales
<!-- badges: start -->
[![R-CMD-check](https://github.com/mikeroswell/ratioScales/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/mikeroswell/ratioScales/actions/workflows/R-CMD-check.yaml)
[![CRAN status](https://www.r-pkg.org/badges/version/ratioScales)](https://CRAN.R-project.org/package=ratioScales)
<!-- badges: end -->
Logarithmic axis scales can clearly communicate multiplicative changes; they can
also confuse. **ratioScales** annotates logarithmic axis scales with tickmarks
that denote proportional and multiplicative change simply and explicitly.
The main function in this package, `scale_*_ratio()`, is ggplot-friendly and
works similarly to existing`scale_*_*` functions from **ggplot2** and
**scales**.
For examples and to learn more, please visit [https://mikeroswell.github.io/ratioScales/](https://mikeroswell.github.io/ratioScales/)
## Installation
You can install the development version of ratioScales from
[GitHub](https://github.com/) with:
``` r
# install.packages("remotes")
remotes::install_github("mikeroswell/ratioScales")
```