Description Usage Arguments See Also Examples

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 |

See `add_regres_line`

for adding a regression line with a confidence interval

1 2 3 4 5 6 7 8 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.