I don&#39;t have functional SVN access at the moment, otherwise I&#39;d do this myself.&nbsp; But essentially, calls to &quot;tabulate()&quot; need to define the number of bins explicitly, otherwise problems occur.&nbsp; For example:<br>
<br>&gt; edge<br>[1,]&nbsp; 1&nbsp; 3<br>[2,]&nbsp; 1&nbsp; 2<br>[3,]&nbsp; 3&nbsp; 4<br>[4,]&nbsp; 3&nbsp; 7<br>[5,]&nbsp; 4&nbsp; 5<br>[6,]&nbsp; 4&nbsp; 6<br>[7,]&nbsp; 7&nbsp; 8<br>[8,]&nbsp; 7&nbsp; 9<br>&gt; tabulate(edge[,1])<br>[1] 2 0 2 2 0 0 2<br>&gt; tabulate(edge[,1], nbins=dim(edge)[1])<br>
[1] 2 0 2 2 0 0 2 0<br><br>-Aaron<br>