[R] Plotting a stepwise increasing function

Peter Dalgaard p.dalgaard at biostat.ku.dk
Thu Aug 31 15:13:28 CEST 2006


Öhagen Patrik <Patrik.Ohagen at mpa.se> writes:

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

You may be looking for

type="s" or "S"

-- 
   O__  ---- Peter Dalgaard             Øster Farimagsgade 5, Entr.B
  c/ /'_ --- Dept. of Biostatistics     PO Box 2099, 1014 Cph. K
 (*) \(*) -- University of Copenhagen   Denmark          Ph:  (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)                  FAX: (+45) 35327907



More information about the R-help mailing list