Description Usage Arguments Value
Add regression line to ggplot object
1 |
gg_in |
ggplot object |
lab_pos |
Position of correlation coefficient label. Set to NULL to omit label |
lab_size |
Size of label |
... |
Additional arguments to pass to geom_smooth |
ggplot object with added regression line
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.