bars | R Documentation |

The function places error bars on crossvalidation plots

bars(x, up, low, width = 0.03, ...)

`x` |
a vector |

`up` |
a vector |

`low` |
a vector |

`width` |
a vector |

This function is internal and used by cross validation routines.

B N Mandal and Jun Ma

x=rnorm(5) up=rep(1,5) low=rep(1,5) plot(x) bars(x,up,low)

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.