As abline
, but with from
and to
arguments.
If a fitted linear regression model is used as asn argument, it uses the min and max values of the data used to fit the model.
1 2 |
a |
Intercept (optional) |
b |
Slope (optional) |
reg |
A fitted linear regression model (output of |
from |
Draw from this X value |
to |
Draw to this x value |
... |
Further parameters passed to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.