Rdocumentation
powered by
Learn R Programming
PhylogeneticEM (version 1.0.0)
sum.partitions: Sum on all subsets.
Description
sum.partitions
returns the sum on all I subset of [1,p], with |I|>m.
Usage
"sum"(A, N, K, p, m)
Arguments
A
a martix with p rows and K column. Each row contains the number of marqued partition in 1
N
a martix with p rows and K column. Each row contains the number of partition in 1
K
an integer. Tne number of groups wanted.
p
an integer. The number of daughters of a node.
m
an integer. The minimum cadinal of a subset allowed.
Value
double : the result of the sum.
Details
This function applies
sum.partitions.cardFixed
to all integer between m and p, and sum the results.