Pedro J. Aphalo

Results 55 issues of Pedro J. Aphalo

Function `stat_regline_equation()` is almost an exact copy of `ggpmisc::stat_poly_eq()` (from an earlier version of my package 'ggpmisc'). Please, acknowledge this in the source code and in the documentation of the...

[A question at Stackoverflow](https://stackoverflow.com/questions/70315747/r-scientific-notation-in-stat-poly-eq) makes me think that the format string used for coeffient estimates could be a formal parameter of the `stat_..._eq()` functions. Needs some tought as the formatting...

enhancement
on hold

The spacing of "text" output in `stat_poly_eq()` could be improved. Possibly, best is not to include the asterisk. See [question at Stackoverflow](https://stackoverflow.com/questions/70315747/r-scientific-notation-in-stat-poly-eq). The code below could work as a possible...

bug

I based `stat_quant_line()` partly on `ggplot2::stat_quantile()` while I wrote `stat_quant_eq()` almost from scratch. The current code for `stat_quant_line()` makes it impossible to retrieve the formula and class from the fitted...

bug
enhancement

@slowkow I tested 'ggpp' position functions with 'ggrepel' from GitHub and they work just fine under 'ggplot2' 3.4.0-rc. I also tested `position_nudge_repel()` with the geoms from 'ggpp' and this also...

Add "staircase" pairwise contrasts. Test with additional model fit functions.

enhancement

This will require flipping of `data` but for bars also rotation of pairwise labels. `angle` aesthetic support in `geom_label()` and derived geoms is partly implemented in 'ggpp' 0.5.5 and will...

documentation
enhancement
unit tests

A statistic could be rather easily implemented by editing the code of `stat_multcomp()`.

enhancement

New parameter `n.max` could be used to dynamically adjust `span`, `local_threshold` or `ignore.threshold` values to keep the number of extracted peaks below or equal to a user-set maximum number.

enhancement

As done with 'ggpp', unit tests need to be added to 'ggpmisc' so as to test the code better (in actual practice) and to achieve formally high coverage.

unit tests