Compute Statistics
Function that computes the statistic vector for a given partition and a given model
computeStatistics(partition, nodes, effects, objects)
partition
: vector, A partitionnodes
: data frame, Node seteffects
: list with a vector "names", and a vector "objects", Effects/sufficient statisticsobjects
: list with a vector "name", and a vector "object", Objects used for statistics calculationthe statistics