linesconst: Plot constant model

View source: R/linesconst.R

linesconstR Documentation

Plot constant model

Description

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

Usage

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<jonathan.lees@unc.edu>

See Also

plotconst

Examples


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


PEIP documentation built on Aug. 21, 2023, 9:10 a.m.