A uniform Dirichlet distribution
The dimension of the distribution
A character vector giving the names of the columns
Returns a hyperdirichlet object corresponding to a uniform
Robin K. S. Hankin
uniform(4) + dirichlet(1:4) # identical (but the normalizing constant is lost)
# Two ways to do the same thing:
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.
Questions? Problems? Suggestions? Tweet to @rdrrHQian@mutexlabs.com.
All documentation is copyright its authors; we didn't write any of that.