Description Usage Arguments Value
The stacked plot of the probability mass function for the snb showing the contributions from N (the top barrier) and R (the right barrier).
1 2 | dsnbc_stack_plot(d, s, t, shape1 = 0.5, shape2 = 0.5, x = min(s, t):(t + s
- 1))
|
d |
the data, a vector of 0 and 1 values. |
s |
the top barrier for the snb process. |
t |
the right barrier for the snb process. |
shape1 |
the value of the first shape parameter on the prior |
shape2 |
the value of the second shape parameter on the prior |
x |
the range of the distribution (defaults to min(s,t):(t+s-1)). |
a plot of the probability mass function.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.