Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/helper_functions.R
Fits a Dirichlet distribution based on the parameters of Beta distributions
1 | fitdirichlet(..., plotBeta = FALSE, n.fitted = "opt")
|
... |
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 |
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
a vector with the parameters for a Dirichlet distribution
John J. Aponte
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.