Description Usage Arguments Value
Simulates a Bernoulli random vector.
1 | simBernSparseVec(nElem, p)
|
nElem |
The number of elements in the vector. |
p |
The probability of an element being equal to one. export |
The sparse representation of a simulated Bernoulli vector.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.