-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME.Rmd
More file actions
56 lines (40 loc) · 1.65 KB
/
README.Rmd
File metadata and controls
56 lines (40 loc) · 1.65 KB
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
50
51
52
53
54
55
56
---
output: github_document
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "60%"
)
```
# catplot: Capable And Tidy Plot <img src="man/figures/logo.png" align="right" alt="" width="120" />
<!-- badges: start -->
[](https://lifecycle.r-lib.org/articles/stages.html#experimental)
[](https://github.com/catplot/catplot/actions/workflows/R-CMD-check.yaml)
[](https://app.codecov.io/gh/catplot/catplot)
<!-- badges: end -->
## 🤪 Overview
`catplot` is a capable and tidy data visualization tool and maintained by [Songqi Duan](https://songqi.org).
## 📦 Installation
You can install the development version of `catplot` like so:
``` {r, eval = FALSE}
install.packages("pak")
pak::pak("catplot/catplot")
```
## 🕹️ Usage
This is a basic usage of `catplot`:
```{r example, fig.align='center', fig.dpi=600, fig.width=3, fig.asp=1}
library(ggplot2)
library(catplot)
data("iris")
p <- iris |>
ggplot(aes(x = Sepal.Length, y = Sepal.Width)) +
geom_point(aes(color = Species)) +
theme_cat(aspect_ratio = 1)
p
```
## 🧩 Code of Conduct
Please note that the catplot project is released with a [Contributor Code of Conduct](https://catplot.catplot.org/CODE_OF_CONDUCT.html). By contributing to this project, you agree to abide by its terms.