linesconst: Plot constant model

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/linesconst.R

Description

Add to plotting model in piecewise constant form over n subintervals, where n is the length of x.

Usage

1
linesconst(x, l, r, ...)

Arguments

x

model to be plotted

l

left endpoint of plot

r

right endpoint of plot

...

graphical parameters

Details

Used for plotting vector models

Value

graphical side effects

Author(s)

Jonathan M. Lees<[email protected]>

See Also

plotconst

Examples

1
2
3
zip = runif(25)
plotconst(zip, 0, 1 )
linesconst(runif(25) , 0, 1 , col='red' )

PEIP documentation built on Jan. 20, 2018, 9:03 a.m.