fun_rdirichlet_hyperparameter: Sample the Dirichlet hyperparameter

Description Usage Arguments Details Value See Also

View source: R/dirichlet.R

Description

Assume it comes from a Uniform distribution on the $(p-1)$-simplex.

Usage

1

Arguments

p

number of variables

Details

Formally, we sample from a Dirichlet with constant base measure, and concentration parameter = p. The resulting Dirichlet parameter is constant = 1.

Value

a tibble with named colums

See Also

Other RNG functions: fun_rdirichlet()


lgaborini/rsamplestudy documentation built on March 6, 2021, 3:18 p.m.