plotconst: Plot constant model

View source: R/plotconst.R

plotconstR 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' )




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