[Phylobase-devl] phylo4: tabulate() requires nbins argument
Aaron Mackey
ajmackey at gmail.com
Wed May 21 17:30:43 CEST 2008
I don't have functional SVN access at the moment, otherwise I'd do this
myself. But essentially, calls to "tabulate()" need to define the number of
bins explicitly, otherwise problems occur. For example:
> edge
[1,] 1 3
[2,] 1 2
[3,] 3 4
[4,] 3 7
[5,] 4 5
[6,] 4 6
[7,] 7 8
[8,] 7 9
> tabulate(edge[,1])
[1] 2 0 2 2 0 0 2
> tabulate(edge[,1], nbins=dim(edge)[1])
[1] 2 0 2 2 0 0 2 0
-Aaron
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.r-forge.r-project.org/pipermail/phylobase-devl/attachments/20080521/942396ff/attachment.html
More information about the Phylobase-devl
mailing list