Description Usage Arguments Details Value
This function prints linear formula used on each facet for ggplot. Refer to stat_smooth
for description. Supports Plotly. I do not know what exactly Plotly is doing to the geom_text, but it puts them... at the wrong places (cut text). You can ALWAYS hover the text if needed. I intentionally put the mutliplication coefficient 2nd to avoid reading issues (formula: y=mx+b).
1 2 3 4 5 |
mapping |
... |
data |
... |
geom |
... |
position |
... |
... |
... |
method |
... |
formula |
... |
se |
... |
n |
... |
span |
... |
fullrange |
... |
level |
... |
method.args |
... |
na.rm |
... |
show.legend |
... |
inherit.aes |
... |
xpos |
... |
ypos |
... |
See this gist: https://gist.github.com/kdauria/524eade46135f6348140
Extra edits were made to fit the needs of this package.
See stat_smooth.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.