Description Usage Arguments Value Examples
Generic function to resize the support of the distribution in place. If the
distribution shrinks, the last lenght(Dist) - n
elements are lost,
the rest are preserved. If it grows, the last n - lenght(Dist)
elements are zeroed.
1 | resize(d, n)
|
d |
Dist object representing the distribution. |
n |
Numeric representing the desired size of the support. |
Dist giving the resized distribution.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.