powered by
Add to plotting model in piecewise constant form over n subintervals, where n is the length of x.
linesconst(x, l, r, ...)
graphical side effects
model to be plotted
left endpoint of plot
right endpoint of plot
graphical parameters
Jonathan M. Lees<jonathan.lees@unc.edu>
Used for plotting vector models
plotconst
zip = runif(25) plotconst(zip, 0, 1 ) linesconst(runif(25) , 0, 1 , col='red' )
Run the code above in your browser using DataLab