rbokeh
rbokeh copied to clipboard
Allow ly_lines to draw lm result
I understand that lm
result can be drawn via ly_abline
, but it is confusing to use ly_lines
for lowess
and ly_abline
for lm
.
This is how things work with base R graphics - an lm
result is an naturally an abline
. Are there other plotting packages that do this?
Thanks for consideration. Understood the background.
What I have in my mind was to have a single API. It is very nice if we have a function ggplot2::geom_smooth
.
- http://docs.ggplot2.org/0.9.3.1/geom_smooth.html