rbokeh icon indicating copy to clipboard operation
rbokeh copied to clipboard

Allow ly_lines to draw lm result

Open sinhrks opened this issue 8 years ago • 2 comments

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.

sinhrks avatar Jul 25 '15 13:07 sinhrks

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?

hafen avatar Jul 27 '15 20:07 hafen

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

sinhrks avatar Jul 29 '15 11:07 sinhrks