Re: [R] Plotting a stepwise increasing function

From: John Kane <jrkrideau_at_yahoo.ca>
Date: Thu 31 Aug 2006 - 23:38:53 EST

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



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Thu Aug 31 23:47:02 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Fri 01 Sep 2006 - 02:24:11 EST.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.