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
>
> ______________________________________________
> [email protected] 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}}
______________________________________________
[email protected] 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.