[R] Plotting a stepwise increasing function

Joris De Wolf joris.dewolf at cropdesign.com
Thu Aug 31 15:13:10 CEST 2006


see
plot(y~x,type="s")

Öhagen Patrik 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.
> 
> 
>         _______________|
>         |
>         |
> ________|
> |
> |
> |
> 
> 
> Thank you in advance!
> 
> 
> Cheers, Patrik
> 
> ______________________________________________
> R-help at 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.


confidentiality notice:
The information contained in this e-mail is confidential and...{{dropped}}



More information about the R-help mailing list