Pedro J. Aphalo

Results 187 comments of Pedro J. Aphalo

@slowkow Sorry, I had not read this issue earlier. Broadly, I can think of three different approaches: a) more sofisitcated nudging, b) directional repulsion force, and c) defining a region...

Idea 4-simplified: Let the user provide the matrix as an argument (say 50 x 50 cells), as this would allow to keep rendering and repulsion computations independent of other plot...

I had a quick look at `position_nudge_repel()` and arguments to `nudge_x` and `nudge_y` given as vectors with a suitable length just work with no change to the code. One could...

@slowkow What about factoring out the code and exporting the repulsion code so that it would be easy to build geoms for different kinds of grobs. (Just dreaming... but adding...

@slowkow Thanks for the detailed answer! Yes, I fully agree that we need to write these geoms individually. I would not use `annotate()` because it would not work with facets....

Based on karl-an comments at https://github.com/kassambara/ggpubr/pull/418 I implemented CIs in `stat_correlation()` for 'ggpmisc' >= 0.4.8.

Now CIs for R2 are implemented in `stat_poly_eq()` for 'ggpmisc' >= 0.4.8.

Implementation of CIs in `stat_fit_tb()` will not make to 'ggpmisc' 0.4.8. So, the issue remains open.

@mlaparie In R there are multiple graphic devices for the same type of file output. From package 'ragg' there is `agg_png`, there is from package 'Cairo', `Cairo_png` and from R's...

TODO: test thoroughly and add suggested workarounds or _good_ 'ggtext' versions.