Skip to content

Commit d533c32

Browse files
committed
README, DESCRIPTION
Very minor
1 parent e7cfd55 commit d533c32

File tree

145 files changed

+4832
-4782
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

145 files changed

+4832
-4782
lines changed

DESCRIPTION

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
Package: ggpp
22
Type: Package
33
Title: Grammar Extensions to 'ggplot2'
4-
Version: 0.5.8-1
5-
Date: 2024-06-30
4+
Version: 0.5.8-1.9000
5+
Date: 2024-11-13
66
Authors@R:
77
c(
88
person("Pedro J.", "Aphalo", email = "[email protected]", role = c("aut", "cre"), comment = c(ORCID = "0000-0003-3385-972X")),

README.Rmd

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ knitr::opts_chunk$set(
1717

1818
<!-- badges: start -->
1919
[![cran
20-
version](https://www.r-pkg.org/badges/version/ggpp)](https://cran.r-project.org/package=ggpp)
20+
version](https://www.r-pkg.org/badges/version-last-release/ggpp)](https://cran.r-project.org/package=ggpp)
2121
[![cran checks](https://badges.cranchecks.info/worst/ggpp.svg)](https://cran.r-project.org/web/checks/check_results_ggpp.html)
2222
[![ggpp status badge](https://aphalo.r-universe.dev/badges/ggpp)](https://aphalo.r-universe.dev/ggpp)
2323
[![R-CMD-check](https://github.com/aphalo/ggpp/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/aphalo/ggpp/actions/workflows/R-CMD-check.yaml)

README.md

+54-56
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<!-- badges: start -->
55

66
[![cran
7-
version](https://www.r-pkg.org/badges/version/ggpp)](https://cran.r-project.org/package=ggpp)
7+
version](https://www.r-pkg.org/badges/version-last-release/ggpp)](https://cran.r-project.org/package=ggpp)
88
[![cran
99
checks](https://badges.cranchecks.info/worst/ggpp.svg)](https://cran.r-project.org/web/checks/check_results_ggpp.html)
1010
[![ggpp status
@@ -60,19 +60,19 @@ the displaced and original positions, those of the observation and the
6060
displaced label, requires also a change in the data returned by position
6161
functions (see the next section).
6262

63-
| Geometry | Main use | Aesthetics | Segment |
64-
|------------------------------------------------------|---------------------------------|-----------------------------------------------------------------------------------------------------------------|---------|
65-
| `geom_text_s()` | data labels | x, y, label, size, family, font face, colour, alpha, group, angle, vjust, hjust | yes |
66-
| `geom_label_s()` | data labels | x, y, label, size, family, font face, colour, fill, alpha, linewidth, linetype, group, vjust, hjust | yes |
67-
| `geom_text_pairwise()` | data labels | x, xmin, xmax, y, label, size, family, font face, colour, alpha, group, angle, vjust, hjust | horiz. |
68-
| `geom_label_pairwise()` | data labels | x, xmin, xmax, y, label, size, family, font face, colour, fill, alpha, linewidth, linetype, group, vjust, hjust | horiz. |
69-
| `geom_point_s()` | data labels | x, y, size, colour, fill, alpha, shape, stroke, group | yes |
70-
| `geom_table()`<sup>1</sup> | data labels | x, y, label, size, family, font face, colour, alpha, group, angle, vjust, hjust | yes |
71-
| `geom_plot()`<sup>1</sup>, `geom_grob()`<sup>1</sup> | data labels | x, y, label, group, angle, vjust, hjust | yes |
72-
| `geom_margin_arrow()` | data labels, scale labels, data | xintercept, yintercept, label, size, family, font face, colour, alpha, group, vjust, hjust | no |
73-
| `geom_margin_point()` | data labels, scale labels, data | xintercept, yintercept, label, size, family, font face, colour, alpha, group, vjust, hjust | no |
74-
| `geom_margin_grob()` | data labels, scale labels, data | xintercept, yintercept, label, size, family, font face, colour, alpha, group, vjust, hjust | no |
75-
| `geom_quadrant_lines()` , `geom_vhlines()` | data labels, scale labels, data | xintercept, yintercept, label, size, family, font face, colour, alpha, group, vjust, hjust | no |
63+
| Geometry | Main use | Aesthetics | Segment |
64+
|----|----|----|----|
65+
| `geom_text_s()` | data labels | x, y, label, size, family, font face, colour, alpha, group, angle, vjust, hjust | yes |
66+
| `geom_label_s()` | data labels | x, y, label, size, family, font face, colour, fill, alpha, linewidth, linetype, group, vjust, hjust | yes |
67+
| `geom_text_pairwise()` | data labels | x, xmin, xmax, y, label, size, family, font face, colour, alpha, group, angle, vjust, hjust | horiz. |
68+
| `geom_label_pairwise()` | data labels | x, xmin, xmax, y, label, size, family, font face, colour, fill, alpha, linewidth, linetype, group, vjust, hjust | horiz. |
69+
| `geom_point_s()` | data labels | x, y, size, colour, fill, alpha, shape, stroke, group | yes |
70+
| `geom_table()`<sup>1</sup> | data labels | x, y, label, size, family, font face, colour, alpha, group, angle, vjust, hjust | yes |
71+
| `geom_plot()`<sup>1</sup>, `geom_grob()`<sup>1</sup> | data labels | x, y, label, group, angle, vjust, hjust | yes |
72+
| `geom_margin_arrow()` | data labels, scale labels, data | xintercept, yintercept, label, size, family, font face, colour, alpha, group, vjust, hjust | no |
73+
| `geom_margin_point()` | data labels, scale labels, data | xintercept, yintercept, label, size, family, font face, colour, alpha, group, vjust, hjust | no |
74+
| `geom_margin_grob()` | data labels, scale labels, data | xintercept, yintercept, label, size, family, font face, colour, alpha, group, vjust, hjust | no |
75+
| `geom_quadrant_lines()` , `geom_vhlines()` | data labels, scale labels, data | xintercept, yintercept, label, size, family, font face, colour, alpha, group, vjust, hjust | no |
7676

7777
Geometries defined in package ‘ggpp’. <sup>1</sup> NPC versions exist
7878
for these geometries, as well as for `geom_text()` and `geom_label()`,
@@ -113,23 +113,23 @@ that use stacking, dodging or jitter. Functions
113113
`position_dosge2_keep()` behave like the positions from ‘ggplot2’ but
114114
keep in the `data` object the original coordinates.
115115

116-
| Position | Main use | Displacement | Most used with |
117-
|---------------------------|----------------|---------------------------------|-----------------------------|
118-
| `position_nudge_keep()` | nudge | x, y (fixed distance) | data labels |
119-
| `position_jitter_keep()` | jitter | x, y (random) | dot plots |
120-
| `position_stack_keep()` | stack | vertical (absolute) | column and bar plots |
121-
| `position_stack_minmax()` | stack | vertical (absolute) | error bars |
122-
| `position_fill_keep()` | fill | vertical (relative, fractional) | column plots |
123-
| `position_dodge_keep()` | dodge | sideways (absolute) | column and bar plots |
124-
| `position_dosge2_keep()` | dodge2 | sideways (absolute) | box plots |
125-
| `position_nudge_to()` | nudge | x, y (fixed position) | data labels |
126-
| `position_nudge_center()` | nudge | x, y (away or towards target) | data labels |
127-
| `position_nudge_line()` | nudge | x, y (away or towards target) | data labels |
128-
| `position_stacknudge()` | stack + nudge | combined, see above | data labels in column plots |
129-
| `position_fillnudge()` | fill + nudge | combined, see above | data labels in column plots |
130-
| `position_jitternudge()` | jitter + nudge | combined, see above | data labels in dot plots |
131-
| `position_dodgenudge()` | dodge + nudge | combined, see above | data labels in column plots |
132-
| `position_dodge2nudge()` | dodge2 + nudge | combined, see above | data labels in box plots |
116+
| Position | Main use | Displacement | Most used with |
117+
|----|----|----|----|
118+
| `position_nudge_keep()` | nudge | x, y (fixed distance) | data labels |
119+
| `position_jitter_keep()` | jitter | x, y (random) | dot plots |
120+
| `position_stack_keep()` | stack | vertical (absolute) | column and bar plots |
121+
| `position_stack_minmax()` | stack | vertical (absolute) | error bars |
122+
| `position_fill_keep()` | fill | vertical (relative, fractional) | column plots |
123+
| `position_dodge_keep()` | dodge | sideways (absolute) | column and bar plots |
124+
| `position_dosge2_keep()` | dodge2 | sideways (absolute) | box plots |
125+
| `position_nudge_to()` | nudge | x, y (fixed position) | data labels |
126+
| `position_nudge_center()` | nudge | x, y (away or towards target) | data labels |
127+
| `position_nudge_line()` | nudge | x, y (away or towards target) | data labels |
128+
| `position_stacknudge()` | stack + nudge | combined, see above | data labels in column plots |
129+
| `position_fillnudge()` | fill + nudge | combined, see above | data labels in column plots |
130+
| `position_jitternudge()` | jitter + nudge | combined, see above | data labels in dot plots |
131+
| `position_dodgenudge()` | dodge + nudge | combined, see above | data labels in column plots |
132+
| `position_dodge2nudge()` | dodge2 + nudge | combined, see above | data labels in box plots |
133133

134134
Position functions defined in package ‘ggpp’.
135135

@@ -156,26 +156,26 @@ and passing them to a geom.
156156
The statistics `stat_quadrant_counts()` and `stat_panel_counts()` make
157157
it easy to annotate plots with the number of observations.
158158

159-
| Statistic | Main use | Usual geometries | Most used with | Compute function |
160-
|--------------------------|----------------------------|------------------------------------------------------------------|------------------------|------------------|
161-
| `stat_fmt_tb()` | formatting and selection | `geom_table()` | tables as data labels | group |
162-
| `stat_fmt_tb()` | formatting and selection | `geom_table_npc()` | tables as annotations | group |
163-
| `stat_dens2d_filter()` | local 2D density filtering | `geom_text_s()`, `geom_label_s()`, `geom_text()`, `geom_label()` | text as data labels | panel |
164-
| `stat_dens2d_label()` | local 2D density filtering | `geom_text_repel()`, `geom_label_repel()` | text as data labels | panel |
165-
| `stat_dens1d_filter()` | local 1D density filtering | `geom_text_s()`, `geom_label_s()`, `geom_text()`, `geom_label()` | text as data labels | panel |
166-
| `stat_dens1d_label()` | local 1D density filtering | `geom_text_repel()`, `geom_label_repel()` | text as data labels | panel |
167-
| `stat_dens2d_filter_g()` | local 2D density filtering | `geom_text_s()`, `geom_label_s()`, `geom_text()`, `geom_label()` | text as data labels | group |
168-
| `stat_dens2d_label_g()` | local 2D density filtering | `geom_text_repel()`, `geom_label_repel()` | text as data labels | group |
169-
| `stat_dens1d_filter_g()` | local 1D density filtering | `geom_text_s()`, `geom_label_s()`, `geom_text()`, `geom_label()` | text as data labels | group |
170-
| `stat_dens1d_label_g()` | local 1D density filtering | `geom_text_repel()`, `geom_label_repel()` | data labels | group |
171-
| `stat_panel_counts()` | number of observations | `geom_text()`, `geom_label()` | text as annotation | panel |
172-
| `stat_group_counts()` | number of observations | `geom_text()`, `geom_label()` | text as annotation | panel |
173-
| `stat_quadrant_counts()` | number of observations | `geom_text()`, `geom_label()` | text as annotation | panel |
174-
| `stat_apply_panel()` | cummulative summaries | `geom_point()`, `geom_line()`, etc. | scatter and line plots | panel |
175-
| `stat_apply_group()` | cummulative summaries | `geom_point()`, `geom_line()`, etc. | scatter and line plots | group |
176-
| `stat_centroid()` | joint x and y summaries | `geom_point()`, `geom_rug()`, `geom_margin_arrow()`, etc. | data summary | group |
177-
| `stat_summary_xy()` | joint x and y summaries | `geom_point()`, `geom_rug()`, `geom_margin_arrow()`, etc. | data summary | group |
178-
| `stat_functions()` | compute y from x range | `geom_line()`, `geom_point()`, etc. | draw function curves | group |
159+
| Statistic | Main use | Usual geometries | Most used with | Compute function |
160+
|----|----|----|----|----|
161+
| `stat_fmt_tb()` | formatting and selection | `geom_table()` | tables as data labels | group |
162+
| `stat_fmt_tb()` | formatting and selection | `geom_table_npc()` | tables as annotations | group |
163+
| `stat_dens2d_filter()` | local 2D density filtering | `geom_text_s()`, `geom_label_s()`, `geom_text()`, `geom_label()` | text as data labels | panel |
164+
| `stat_dens2d_label()` | local 2D density filtering | `geom_text_repel()`, `geom_label_repel()` | text as data labels | panel |
165+
| `stat_dens1d_filter()` | local 1D density filtering | `geom_text_s()`, `geom_label_s()`, `geom_text()`, `geom_label()` | text as data labels | panel |
166+
| `stat_dens1d_label()` | local 1D density filtering | `geom_text_repel()`, `geom_label_repel()` | text as data labels | panel |
167+
| `stat_dens2d_filter_g()` | local 2D density filtering | `geom_text_s()`, `geom_label_s()`, `geom_text()`, `geom_label()` | text as data labels | group |
168+
| `stat_dens2d_label_g()` | local 2D density filtering | `geom_text_repel()`, `geom_label_repel()` | text as data labels | group |
169+
| `stat_dens1d_filter_g()` | local 1D density filtering | `geom_text_s()`, `geom_label_s()`, `geom_text()`, `geom_label()` | text as data labels | group |
170+
| `stat_dens1d_label_g()` | local 1D density filtering | `geom_text_repel()`, `geom_label_repel()` | data labels | group |
171+
| `stat_panel_counts()` | number of observations | `geom_text()`, `geom_label()` | text as annotation | panel |
172+
| `stat_group_counts()` | number of observations | `geom_text()`, `geom_label()` | text as annotation | panel |
173+
| `stat_quadrant_counts()` | number of observations | `geom_text()`, `geom_label()` | text as annotation | panel |
174+
| `stat_apply_panel()` | cummulative summaries | `geom_point()`, `geom_line()`, etc. | scatter and line plots | panel |
175+
| `stat_apply_group()` | cummulative summaries | `geom_point()`, `geom_line()`, etc. | scatter and line plots | group |
176+
| `stat_centroid()` | joint x and y summaries | `geom_point()`, `geom_rug()`, `geom_margin_arrow()`, etc. | data summary | group |
177+
| `stat_summary_xy()` | joint x and y summaries | `geom_point()`, `geom_rug()`, `geom_margin_arrow()`, etc. | data summary | group |
178+
| `stat_functions()` | compute y from x range | `geom_line()`, `geom_point()`, etc. | draw function curves | group |
179179

180180
Statistics defined in package ‘ggpp’.
181181

@@ -354,18 +354,16 @@ citation("ggpp")
354354
#> To cite package 'ggpp' in publications use:
355355
#>
356356
#> Aphalo P (2024). _ggpp: Grammar Extensions to 'ggplot2'_. R package
357-
#> version 0.5.8, https://github.com/aphalo/ggpp,
358-
#> <https://docs.r4photobiology.info/ggpp/>.
357+
#> version 0.5.8-1, <https://CRAN.R-project.org/package=ggpp>.
359358
#>
360359
#> A BibTeX entry for LaTeX users is
361360
#>
362361
#> @Manual{,
363362
#> title = {ggpp: Grammar Extensions to 'ggplot2'},
364363
#> author = {Pedro J. Aphalo},
365364
#> year = {2024},
366-
#> note = {R package version 0.5.8,
367-
#> https://github.com/aphalo/ggpp},
368-
#> url = {https://docs.r4photobiology.info/ggpp/},
365+
#> note = {R package version 0.5.8-1},
366+
#> url = {https://CRAN.R-project.org/package=ggpp},
369367
#> }
370368
```
371369

man/figures/README-readme-06-1.png

-13 Bytes
Loading

tests/testthat/Rplots.pdf

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)