Pedro J. Aphalo
Pedro J. Aphalo
Adding a 'ggplot2' caption from within a statistic is not consistent with the Grammar of Graphics. Seems also difficult to implement without using fragile coding tricks. Geoms are expected to...
I am not sure to understand your question. Within ggplot2 one can only define a model using as variables the name of aesthetics, as statistics do not have accesses to...
I guess you are using `stat_poly_eq()`. There are two ways in which statistics can be defined. Many are defined using computations per group. So, what you are seeing is not...
@tillrose Thanks for suggesting this enhancement!
Thanks! o.k, got it now. You fit a single model but still want to have one equation for each group.
Moved to a later milestone. Requires implementing a new set of stats based on `compute_panel()` functions.
A possible way of handling this request is to implement new statistics using compute panel functions and include the grouping in the model formula. This can be fairly tricky with...
Closed by mistake.
I haven't really thought the details. What would be most useful? I have been playing with the idea in my head, as I find the p-value labeling using horizontal segments...
An interesting alternative way of plotting is described and implement in 'emmeans' under the name "Pairwise P-value plots".