[R] Plotting a stepwise increasing function

John Kane jrkrideau at yahoo.ca
Thu Aug 31 15:38:53 CEST 2006


--- Öhagen Patrik <Patrik.Ohagen at mpa.se> wrote:

> 
> Dear All, Sorry for spamming you with something
> trivial. I would like to plot a "stepwise increasing
> function" (if that makes sense? See crude ASCHII art
> below). I think there is some clever paramter for
> solving the problem but I just cannot find it.
> 
> 
>         _______________|
>         |
>         |
> ________|
> |
> |
> |
> 

methods(plot)
?plot.stepfun

This looks like what you want



More information about the R-help mailing list