Description Usage Arguments Details Value Author(s) Examples
Returns an DIRICHLET
distribution object that draw random numbers
generated by the function rdirichlet
1 | new_DIRICHLET(p_alpha, p_dimnames)
|
p_alpha |
k-value vector for concentration parameter. Must be positive |
p_dimnames |
A vector of characters for the names of the k-dimensions |
A name can be provided for the dimensions. Otherwise rvar1
,
rvar2
, ..., rvark
will be assigned
An object of class DISTRIBUTION
,
p_distribution$distribution
, TRUNCATED
John J. Aponte
1 2 | myDistr <- new_DIRICHLET(c(0.3,0.2,0.5), c("a","b","c"))
myDistr$rfunc(10)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.