bars: Error bars

View source: R/extlasso.R

barsR Documentation

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.

Author(s)

B N Mandal and Jun Ma

Examples

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

extlasso documentation built on May 13, 2022, 9:08 a.m.

Related to bars in extlasso...