Sample n times from a Dirichlet

fun_rdirichlet(n, a, text = "x")

Arguments

n

number of samples

a

Dirichlet parameter (a vector that will be coerced to numeric)

text

optional variable names (default: 'x')

Value

a tibble with named columns, where each row is a Dirichlet sample

See also