bars: Error bars

Description Usage Arguments Details Author(s) Examples

View source: R/extlasso.R

Description

The function places error bars on crossvalidation plots

Usage

1
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

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

extlasso documentation built on May 2, 2019, 11:39 a.m.

Related to bars in extlasso...