plotconst {PEIP}R Documentation

Plot constant model

Description

Plots a model in piecewise constant form over n subintervals, where n is the length of x.

Usage

plotconst(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

linesconst

Examples


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




[Package PEIP version 2.2-5 Index]