powered by
Plots a model in piecewise constant form over n subintervals, where n is the length of x.
plotconst(x, l, r, ...)
model to be plotted
left endpoint of plot
right endpoint of plot
graphical parameters
graphical side effects
Used for plotting vector models
linesconst
# NOT RUN { zip = runif(25) plotconst(zip, 0, 1 ) linesconst(runif(25) , 0, 1 , col='red' ) # }
Run the code above in your browser using DataLab