View source: R/panel.lmbands.R

show confidence and prediction bands on plots

1 2 3 4 |

`x, y` |
numeric vectors |

`interval` |
a vector subset of |

`level` |
confidence level |

`model` |
model to be used for generating bands |

`band.col` |
a vector of length 1 or 2 giving the color of bands |

`band.lty` |
a vector of length 1 or 2 giving the line type for bands |

`band.show` |
logical vector of length 1 or 2 indicating whether confidence and prediction bands should be shown |

`fit.show` |
logical indicating whether the model fit should be shown |

`band.alpha` |
a vector of length 1 or 2 alpha level for bands |

`band.lwd` |
a vector of length 1 or 2 giving line width for bands |

`npts` |
resolution parameter for bands (increase to get better resolution) |

`...` |
additional arguments |

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.