Skip to content

Commit c88cab4

Browse files
Merge pull request #100 from IndrajeetPatil/citation
add citation file
2 parents 24ddd37 + 9370097 commit c88cab4

File tree

4 files changed

+71
-4
lines changed

4 files changed

+71
-4
lines changed

README.Rmd

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,27 @@ interest which itself is annotated with the level of significance (NS, \*, \*\*,
3131
groups for comparison and the test (t.test, wilcox etc.) and adds the annotation
3232
to the plot.
3333

34+
## Citation
35+
36+
If you wish to cite this package in a publication, you can run the following
37+
command in your R console:
38+
39+
```{r citation}
40+
citation("ggsignif")
41+
```
42+
3443
## Example
3544

36-
Install package
45+
You can first install this package from `CRAN`:
3746

3847
```{r eval=FALSE}
3948
install.packages("ggsignif")
49+
```
50+
51+
Or get the latest development version:
4052

41-
# Or for the latest development version
53+
```{r eval=FALSE}
54+
install.packages("remotes")
4255
remotes::install_github("const-ae/ggsignif")
4356
```
4457

README.md

Lines changed: 32 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,44 @@ level of significance (NS, \*, \*\*, \*\*\*). The package provides a
2020
single layer (`geom_signif`) that takes the groups for comparison and
2121
the test (t.test, wilcox etc.) and adds the annotation to the plot.
2222

23+
## Citation
24+
25+
If you wish to cite this package in a publication, you can run the
26+
following command in your R console:
27+
28+
``` r
29+
citation("ggsignif")
30+
#>
31+
#> To cite 'ggsignif' in publications use:
32+
#>
33+
#> Ahlmann-Eltze, C., & Patil, I. (2021). ggsignif: R Package for
34+
#> Displaying Significance Brackets for 'ggplot2'. PsyArxiv.
35+
#> doi:10.31234/osf.io/7awm6
36+
#>
37+
#> A BibTeX entry for LaTeX users is
38+
#>
39+
#> @Article{,
40+
#> title = {{ggsignif}: R Package for Displaying Significance Brackets for {'ggplot2'}},
41+
#> author = {Ahlmann-Eltze Constantin and Indrajeet Patil},
42+
#> year = {2021},
43+
#> journal = {PsyArxiv},
44+
#> url = {https://psyarxiv.com/7awm6},
45+
#> doi = {10.31234/osf.io/7awm6},
46+
#> }
47+
```
48+
2349
## Example
2450

25-
Install package
51+
You can first install this package from `CRAN`:
2652

2753
``` r
2854
install.packages("ggsignif")
55+
```
2956

30-
# Or for the latest development version
57+
Or get the latest development version:
58+
59+
``` r
60+
install.packages("remotes")
3161
remotes::install_github("const-ae/ggsignif")
3262
```
3363

inst/CITATION

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
citHeader("To cite 'ggsignif' in publications use:")
2+
3+
citEntry(
4+
entry = "Article",
5+
title = "{ggsignif}: R Package for Displaying Significance Brackets for {'ggplot2'}",
6+
author = c(person("Ahlmann-Eltze", "Constantin"), person("Indrajeet", "Patil")),
7+
year = 2021,
8+
journal = "PsyArxiv",
9+
url = "https://psyarxiv.com/7awm6",
10+
doi = "10.31234/osf.io/7awm6",
11+
textVersion = "Ahlmann-Eltze, C., & Patil, I. (2021). ggsignif: R Package for Displaying Significance Brackets for 'ggplot2'. PsyArxiv. doi:10.31234/osf.io/7awm6"
12+
)

inst/WORDLIST

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,25 @@
1+
Ahlmann
12
Codecov
3+
Eltze
4+
ORCID
25
README
6+
ae
37
behaviour
8+
const
49
ggplot
510
ggplots
11+
github
12+
https
13+
io
14+
lifecycle
615
linetype
716
md
17+
multiway
18+
patilindrajeets
819
plotmath
920
signif
1021
textsize
1122
wilcox
1223
xmax
1324
xmin
25+

0 commit comments

Comments
 (0)