-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathREADME.Rmd
More file actions
59 lines (34 loc) · 1.72 KB
/
Copy pathREADME.Rmd
File metadata and controls
59 lines (34 loc) · 1.72 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 = "100%"
)
```
# ggls
<!-- badges: start -->
[](https://github.com/beabock/ggls/actions/workflows/R-CMD-check.yaml)
<!-- badges: end -->
The goal of ggls is to add letter indicating the significance of differences of results among treatments displayed in ggplot barplots and boxplots. It doesn't do that part yet, but it does offer a comparison maker to plug into the ggpubr package as well as a testing assumptions function which tests common assumptions about datasets required by certain statistical tests.
## Installation
You can install the development version of ggls from [GitHub](https://github.com/) with:
``` r
# install.packages("devtools")
devtools::install_github("beabock/ggls")
```
## Example
If you want to use the ggpubr package, you may need to create a list of comparisons for the groups you want to compare. If you want to compare all groups to each other, this command does that.
```{r example, warning = FALSE, error= FALSE, message= FALSE}
library(ggls)
comparison_maker(ToothGrowth, supp)
```
Additionally, you may want to test the common assumptions of common statistical tests on your dataset to know if it's okay to use those tests on your dataset. The test_assumptions function does this.
```{r example2}
test_assumptions(ToothGrowth, supp, len)
```
You'll still need to render `README.Rmd` regularly, to keep `README.md` up-to-date. `devtools::build_readme()` is handy for this.