extract.partitionsNumber
extracts the number of partitions for a
given sub-tree, either marked or non-marked.
an object of class partitionsNumber
, result of function
partitionsNumber
.
the root node of the subtree where to get the result. Default to the root of the tree.
the number of partitions (colors) allowed at the tips.
Default to the value used in the call of function
partitionsNumber
(the maximum).
whether to extract the marked (TRUE) or un-marked (FALSE) partitions. The number of models is the number of un-marked partitions. Default to FALSE.
unused.
the number of partitions with npart colors, on the sub-tree starting at node, marked or not.