Learn R Programming

extlasso (version 0.3)

bars: Error bars

Description

The function places error bars on crossvalidation plots

Usage

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

Arguments

x

a vector

up

a vector

low

a vector

width

a vector

Details

This function is internal and used by cross validation routines.

Examples

Run this code
# NOT RUN {
x=rnorm(5)
up=rep(1,5)
low=rep(1,5)
plot(x)
bars(x,up,low)
# }

Run the code above in your browser using DataLab