Print a linear model equation on plot
1 | lmequation(side = 1, line = -1, model = NULL, inset = 0.05, at, ...)
|
side |
side to plot (1 = bottom, 2 = left, 3 = top, 4 = right). |
line |
on which MARgin line, starting at 0 counting outwards. |
model |
a linear model object |
inset |
fraction of axis length to inset equation. Values >= 0 inset from left; Values < 0 inset from right |
... |
Further graphical parameters (see par), including family, las and xpd. (The latter defaults to the figure region unless outer = TRUE, otherwise the device region. It can only be increased.) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.