ggpmisc icon indicating copy to clipboard operation
ggpmisc copied to clipboard

stat_quant_line() and consistency with stat_quant_eq()

Open aphalo opened this issue 3 years ago • 0 comments

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 model. As I have made it possible to use methods that modify the formula or call user defined functiions that in turn call a model fit function returning an acceptable fited model object, this represents a problematic inconsistency.

A rewrite based in stat_quant_eq() should not be too difficult.

aphalo avatar Aug 19 '22 20:08 aphalo