Fits a Dirichlet distribution based on the parameters of Beta distributions
Arguments
- ...
named vectors with the distribution parameters shape1, shape2
- plotBeta
if TRUE a ggplot of the densities are plotted
- n.fitted
Method to fit the values
Details
Each one of the arguments is a named vector with values for shape1, shape2.
Values from fitbeta
are suitable for this.
This is a wrap of fitDirichlet