简体   繁体   中英

How plot a discontinuous distribution function in R

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)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM