A response vector/matrix suitable for the model family.
factor
A factor vector.
family
Model family to be used in merging. Available models are: "gaussian", "survival", "binomial".
By default mergeFactors uses "gaussian" model.
successive
If FALSE, the default,
in each step of the merging procedure all possible pairs are compared.
Otherwise, factor levels are preliminarly sorted and only succesive pairs are compared.
method
A string specifying method used during merging.
Two methods are availabel: "hclust", "LRT". The default is "LRT".
abbreviate
Logical. If TRUE, the default, factor levels names
are abbreviated.