Skip to content
Prev 86066 / 398528 Next

Plotting a count process

<voodooochild <at> gmx.de> writes:
If I understand you correctly, this means plotting equidistant point against 
the cumulative sum. Forgetting about the dates now, this would do it.

x = floor(pmax(rnorm(30,5,2),1))
xcum = cumsum(x)
plot(xcum,1:30)

Dieter