Вопрос

I hope i do all well, because I am new to this forum.

I try to plot a distribution function of discontinuous values like a cube

Can I do in r anything like the picture on this website?

http://www.dietrichgrude.de/stochastik/zufvar_vertfkt.gif

Thanks and greetings

Это было полезно?

Решение

You can use plot.stepfun function. See examples of it with

example(plot.stepfun)
Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top