Description Usage Arguments Value
It might be better in practice to set m to a large enough value, like O(100) or so. The default values give a nice example.
1 | make_01model(n = 50, m = 100, k = 5, p = 0.8, l = 5)
|
n |
Number of rows. |
m |
Number of columns. |
k |
Number of randomly planted segments. |
p |
Probability of 1s in the segments. |
l |
Span of segment. |
A binary data matrix with k segments.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.