>#&gt;      [,1] [,2] [,3] [,4]
#&gt; [1,]    0    0    0    0
#&gt; [2,]    1    0    0    0
#&gt; [3,]    0    1    0    0
#&gt; [4,]    1    1    1    0</div><div class='input'>
<span class='co'># 3 graphs of various sizes</span>
<span class='fu'>rbernoulli</span>(<span class='fu'><a href='https://www.rdocumentation.org/packages/base/topics/c'>c</a></span>(<span class='fl'>3</span>, <span class='fl'>4</span>, <span class='fl'>2</span>))</div><div class='output co'>#&gt; [[1]]
#&gt;      [,1] [,2] [,3]
#&